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

Unified Diff: components/cryptauth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc

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_weave_client_connection_unittest.cc
diff --git a/components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc b/components/cryptauth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc
similarity index 98%
rename from components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc
rename to components/cryptauth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc
index c376a794b606f015e47f5c78b7a7770077234e45..c8b69df94244c5c72d2b8ed5e05171348ab91c9b 100644
--- a/components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc
+++ b/components/cryptauth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection.h"
+#include "components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.h"
#include <stdint.h>
@@ -14,12 +14,12 @@
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "base/test/test_simple_task_runner.h"
+#include "components/cryptauth/bluetooth_throttler.h"
+#include "components/cryptauth/connection_finder.h"
+#include "components/cryptauth/connection_observer.h"
+#include "components/cryptauth/cryptauth_test_util.h"
#include "components/cryptauth/remote_device.h"
-#include "components/proximity_auth/bluetooth_throttler.h"
-#include "components/proximity_auth/connection_finder.h"
-#include "components/proximity_auth/connection_observer.h"
-#include "components/proximity_auth/proximity_auth_test_util.h"
-#include "components/proximity_auth/wire_message.h"
+#include "components/cryptauth/wire_message.h"
#include "device/bluetooth/bluetooth_adapter_factory.h"
#include "device/bluetooth/test/mock_bluetooth_adapter.h"
#include "device/bluetooth/test/mock_bluetooth_device.h"
@@ -37,7 +37,7 @@ using testing::Return;
using testing::StrictMock;
using testing::SaveArg;
-namespace proximity_auth {
+namespace cryptauth {
namespace {
class MockBluetoothThrottler : public BluetoothThrottler {
@@ -1053,4 +1053,4 @@ TEST_F(ProximityAuthBluetoothLowEnergyWeaveClientConnectionTest,
} // namespace weave
-} // namespace proximity_auth
+} // namespace cryptauth

Powered by Google App Engine
This is Rietveld 408576698