[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.
diff --git a/third_party/nearby/BUILD.gn b/third_party/nearby/BUILD.gn
index fee2a42..168142f 100644
--- a/third_party/nearby/BUILD.gn
+++ b/third_party/nearby/BUILD.gn
@@ -63,7 +63,11 @@
source_set("core_types") {
public_configs = [ ":nearby_include_config" ]
- sources = [ "src/cpp/core/strategy.cc" ]
+ sources = [
+ "src/cpp/core/options.cc",
+ "src/cpp/core/payload.cc",
+ "src/cpp/core/strategy.cc",
+ ]
public = [
"src/cpp/core/listeners.h",
"src/cpp/core/options.h",
@@ -252,20 +256,20 @@
sources = [
"src/cpp/core/internal/mediums/utils.cc",
"src/cpp/core/internal/mediums/webrtc/connection_flow.cc",
- "src/cpp/core/internal/mediums/webrtc/peer_id.cc",
"src/cpp/core/internal/mediums/webrtc/signaling_frames.cc",
"src/cpp/core/internal/mediums/webrtc/webrtc_socket.cc",
+ "src/cpp/core/internal/mediums/webrtc_peer_id.cc",
]
public = [
"src/cpp/core/internal/mediums/utils.h",
"src/cpp/core/internal/mediums/webrtc/connection_flow.h",
"src/cpp/core/internal/mediums/webrtc/data_channel_listener.h",
"src/cpp/core/internal/mediums/webrtc/local_ice_candidate_listener.h",
- "src/cpp/core/internal/mediums/webrtc/peer_id.h",
"src/cpp/core/internal/mediums/webrtc/session_description_wrapper.h",
"src/cpp/core/internal/mediums/webrtc/signaling_frames.h",
"src/cpp/core/internal/mediums/webrtc/webrtc_socket.h",
- "src/cpp/core/internal/mediums/webrtc/webrtc_socket_wrapper.h",
+ "src/cpp/core/internal/mediums/webrtc_peer_id.h",
+ "src/cpp/core/internal/mediums/webrtc_socket_wrapper.h",
]
public_deps = [
":core_types",
@@ -296,7 +300,6 @@
"src/cpp/platform/api/webrtc.h",
"src/cpp/platform/api/wifi.h",
"src/cpp/platform/api/wifi_lan.h",
- "src/cpp/platform/api/wifi_lan_v2.h",
]
public_deps = [
":offline_wire_formats_proto",
@@ -358,6 +361,7 @@
"src/cpp/platform/base/base64_utils.cc",
"src/cpp/platform/base/bluetooth_utils.cc",
"src/cpp/platform/base/input_stream.cc",
+ "src/cpp/platform/base/nsd_service_info.cc",
"src/cpp/platform/base/prng.cc",
]
public = [
@@ -369,6 +373,7 @@
"src/cpp/platform/base/feature_flags.h",
"src/cpp/platform/base/input_stream.h",
"src/cpp/platform/base/listeners.h",
+ "src/cpp/platform/base/nsd_service_info.h",
"src/cpp/platform/base/output_stream.h",
"src/cpp/platform/base/payload_id.h",
"src/cpp/platform/base/prng.h",
@@ -504,6 +509,7 @@
sources = [
"src/cpp/platform/public/ble.cc",
"src/cpp/platform/public/bluetooth_classic.cc",
+ "src/cpp/platform/public/file.cc",
"src/cpp/platform/public/wifi_lan.cc",
]
public = [
diff --git a/third_party/nearby/README.chromium b/third_party/nearby/README.chromium
index da1b067..abaff24 100644
--- a/third_party/nearby/README.chromium
+++ b/third_party/nearby/README.chromium
@@ -1,7 +1,7 @@
Name: Nearby Connections Library
Short Name: Nearby
URL: https://github.com/google/nearby-connections
-Version: 51a19d24c1644cccdf33d56a48db4dad3e418447
+Version: 8c2dd35eac5092fb74d5a673a564689aee790546
License: Apache 2.0
License File: LICENSE
Security Critical: yes