Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: components/cryptauth/ble/bluetooth_low_energy_characteristics_finder.h

Issue 2561203002: Migrate weave-related classes from proximity_auth/ble to cryptauth/ble. (Closed)
Patch Set: Rebase. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/cryptauth/ble/bluetooth_low_energy_characteristics_finder.h
diff --git a/components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder.h b/components/cryptauth/ble/bluetooth_low_energy_characteristics_finder.h
similarity index 91%
rename from components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder.h
rename to components/cryptauth/ble/bluetooth_low_energy_characteristics_finder.h
index 1c95c4c77d73e80716a87d28c034a0a07c675400..8741765a2d8148c24463f78ad79500e24a0ebf60 100644
--- a/components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder.h
+++ b/components/cryptauth/ble/bluetooth_low_energy_characteristics_finder.h
@@ -2,20 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_PROXIMITY_AUTH_BLE_BLUETOOTH_LOW_ENERGY_CHARACTERISTICS_FINDER_H_
-#define COMPONENTS_PROXIMITY_AUTH_BLE_BLUETOOTH_LOW_ENERGY_CHARACTERISTICS_FINDER_H_
+#ifndef COMPONENTS_CRYPTAUTH_BLE_BLUETOOTH_LOW_ENERGY_CHARACTERISTICS_FINDER_H_
+#define COMPONENTS_CRYPTAUTH_BLE_BLUETOOTH_LOW_ENERGY_CHARACTERISTICS_FINDER_H_
#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "components/proximity_auth/ble/remote_attribute.h"
+#include "components/cryptauth/ble/remote_attribute.h"
#include "device/bluetooth/bluetooth_adapter.h"
#include "device/bluetooth/bluetooth_device.h"
#include "device/bluetooth/bluetooth_remote_gatt_characteristic.h"
#include "device/bluetooth/bluetooth_remote_gatt_service.h"
#include "device/bluetooth/bluetooth_uuid.h"
-namespace proximity_auth {
+namespace cryptauth {
// Looks for given characteristics in a remote device, for which a GATT
// connection was already established. In the current BLE connection protocol
@@ -32,7 +32,8 @@ class BluetoothLowEnergyCharacteristicsFinder
// to_peripheral_char_.id) will be non-blank.
typedef base::Callback<void(const RemoteAttribute&,
const RemoteAttribute&,
- const RemoteAttribute&)> SuccessCallback;
+ const RemoteAttribute&)>
+ SuccessCallback;
// This callback takes as arguments (in this order): |to_peripheral_char_| and
// |from_peripheral_char_|. A blank id field in the characteristics indicate
@@ -113,6 +114,6 @@ class BluetoothLowEnergyCharacteristicsFinder
DISALLOW_COPY_AND_ASSIGN(BluetoothLowEnergyCharacteristicsFinder);
};
-} // namespace proximity_auth
+} // namespace cryptauth
-#endif // COMPONENTS_PROXIMITY_AUTH_BLE_BLUETOOTH_CHARACTERISTICS_FINDER_H_
+#endif // COMPONENTS_CRYPTAUTH_BLE_BLUETOOTH_CHARACTERISTICS_FINDER_H_

Powered by Google App Engine
This is Rietveld 408576698