diff options
Diffstat (limited to 'chromium/third_party/nearby/src/internal/platform/implementation/g3/bluetooth_adapter.h')
-rw-r--r-- | chromium/third_party/nearby/src/internal/platform/implementation/g3/bluetooth_adapter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/g3/bluetooth_adapter.h b/chromium/third_party/nearby/src/internal/platform/implementation/g3/bluetooth_adapter.h index 3bc3832e96d..f9f7a0a7bce 100644 --- a/chromium/third_party/nearby/src/internal/platform/implementation/g3/bluetooth_adapter.h +++ b/chromium/third_party/nearby/src/internal/platform/implementation/g3/bluetooth_adapter.h @@ -120,7 +120,9 @@ class BluetoothAdapter : public api::BluetoothAdapter { std::string GetName() const override ABSL_LOCKS_EXCLUDED(mutex_); // https://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#setName(java.lang.String) - bool SetName(absl::string_view name) override ABSL_LOCKS_EXCLUDED(mutex_); + bool SetName(absl::string_view) override ABSL_LOCKS_EXCLUDED(mutex_); + bool SetName(absl::string_view name, bool persist) override + ABSL_LOCKS_EXCLUDED(mutex_); // Returns BT MAC address assigned to this adapter. std::string GetMacAddress() const override { return mac_address_; } |