[Nearby] Uprev Nearby Connections to 8c2dd35eac50

Manually verified: https://docs.google.com/spreadsheets/d/1RnMjwDc4KkvxIY9fbjCJnborlawdlJOVfBJWejl6DZM/edit#gid=1248673182

---------------------------------------------------------------------

Roll nearby-connections from 51a19d24c164 to 8c2dd35eac50 (29 revisions)

https://chromium.googlesource.com/external/github.com/google/nearby-connections.git/+log/51a19d24c164..8c2dd35eac50

2021-11-05 [email protected] [Connections] Remove the usage of @BandOrFrequency annotation
BEGIN_PUBLIC
END_PUBLIC

PiperOrigin-RevId: 407726054

2021-11-04 [email protected] Remove unnecessary param in mediums/WifiLan
PiperOrigin-RevId: 407484635

2021-11-04 [email protected] Fix formatting for code block in docs
PiperOrigin-RevId: 407478011

2021-11-03 [email protected] Refactored WiFi LAN implementation based on new WiFi LAN API
PiperOrigin-RevId: 407453537

2021-11-02 [email protected] Implemented device connection
PiperOrigin-RevId: 407135343

2021-11-02 [email protected] Applied Struct and used as params communicating with Dart.
PiperOrigin-RevId: 407028085

2021-11-01 [email protected] Create definition point for kNsdTypeInfo.
Per the standard, this is necessary since the variable is ODR-used, though some compilers will not complain without it because ODR violations do not require a diagnostic.

PiperOrigin-RevId: 406741338

2021-10-29 [email protected] Fix an instance of -Wshadow.
PiperOrigin-RevId: 406429209

2021-10-29 [email protected] Fixed the file implementations, they weren't using a mode, and the base path was always set to /tmp/.
We now get the systems idea of where the users download folder is and use that as the base path when receiving a file.

PiperOrigin-RevId: 406406731

2021-10-28 [email protected] nearbyconnections : Replace WifiLanV2 to WifiLan.
PiperOrigin-RevId: 406033177

2021-10-27 [email protected] [Nearby Connection] Move peer_id.* & webrtc_socket_wrapper.* up one directory.
PiperOrigin-RevId: 406011497

2021-10-27 [email protected] Fix for crashing on disconnect.
PiperOrigin-RevId: 405891913

2021-10-27 [email protected] nearbyconnections : Implement WifiLanV2 BandwidthUpgrade functions.
PiperOrigin-RevId: 405821802

2021-10-27 [email protected] nearbyconnections : Implement WifiLanV2 Connection functions for  /medium, /public(wrapper), /g3.
PiperOrigin-RevId: 405820452

2021-10-27 [email protected] nearbyconnections : Implement WifiLanV2 Discovery functions for  /medium, /public(wrapper), /g3.
PiperOrigin-RevId: 405782006

2021-10-26 [email protected] Added an additional constructor that takes only the InputFile, and then generates an id automatically.
PiperOrigin-RevId: 405712536

2021-10-26 [email protected] Removed unused comments.
PiperOrigin-RevId: 405653375

2021-10-26 [email protected] nearbyconnections : Implement WifiLanV2 Advertising functions for  /medium, /public(wrapper), /g3.
PiperOrigin-RevId: 405547661

2021-10-26 [email protected] nearbyconnections : Define interfaces of /medium, /public(wrapper), /g3 WifiLanV2.
PiperOrigin-RevId: 405537829

2021-10-21 [email protected] 'Flattening' of payload.h
PiperOrigin-RevId: 404800166

2021-10-18 [email protected] Implemented StartAdvertising() API for Dart Wrappers.
PiperOrigin-RevId: 404088232

2021-10-18 [email protected] Merge pull request #348 from google/test_403438989
Implemented StartAdvertising() API for Dart Wrappers.

2021-10-18 [email protected] nearbyconnections : Adds accessor of ServiceType for NsdServiceInfo.
PiperOrigin-RevId: 404003948

2021-10-16 [email protected] Added APIs for Dart Wrappers.
PiperOrigin-RevId: 403507168

2021-10-15 [email protected] Separation of ConnectionOptions into a header and an implementation file.
PiperOrigin-RevId: 403486468

2021-10-13 [email protected] [Nearby Cleanup] Remove dead code and unused includes.
PiperOrigin-RevId: 402933192

2021-10-11 [email protected] The actual winrt file update. Although this built without source changes locally, it seems that g3 needs these additional includes.
PiperOrigin-RevId: 402359124

2021-10-11 [email protected] Renamed ConnectAsync to Connect for the bluetooth socket, since it's not an async method. Cleaned up the connection code for bluetooth socket.
PiperOrigin-RevId: 402346996

2021-10-11 [email protected] Export more symbols, refactor how this is laid out for dll compliance
PiperOrigin-RevId: 402286243

Bug: 794619
Change-Id: I262a664619aa4248f3f685805b34bb65878b4e79
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3266697
Auto-Submit: Josh Nohle <[email protected]>
Commit-Queue: Michael Hansen <[email protected]>
Reviewed-by: Michael Hansen <[email protected]>
Cr-Commit-Position: refs/heads/main@{#940126}
diff --git a/DEPS b/DEPS
index 137538a6..ef4037c6d 100644
--- a/DEPS
+++ b/DEPS
@@ -377,7 +377,7 @@
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling nearby
   # and whatever else without interference from each other.
-  'nearby_revision': '51a19d24c1644cccdf33d56a48db4dad3e418447',
+  'nearby_revision': '8c2dd35eac5092fb74d5a673a564689aee790546',
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling securemessage
   # and whatever else without interference from each other.