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

Unified Diff: components/proximity_auth/proximity_auth_test_util.cc

Issue 1356943004: Add RemoteDeviceLoader to create RemoteDevice from CryptAuth data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webui
Patch Set: move RemoteDevice creation in tests to util function Created 5 years, 3 months 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/proximity_auth/proximity_auth_test_util.cc
diff --git a/components/proximity_auth/proximity_auth_test_util.cc b/components/proximity_auth/proximity_auth_test_util.cc
new file mode 100644
index 0000000000000000000000000000000000000000..820b23cc47456909b0437b01729855c33dc706e2
--- /dev/null
+++ b/components/proximity_auth/proximity_auth_test_util.cc
@@ -0,0 +1,17 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/proximity_auth/proximity_auth_test_util.h"
+
+namespace proximity_auth {
+
+// Attributes of the default test remote device.
+const char kTestRemoteDeviceUserId[] = "example@gmail.com";
+const char kTestRemoteDeviceName[] = "remote device";
+const char kTestRemoteDevicePublicKey[] = "public key";
+const char kTestRemoteDeviceBluetoothAddress[] = "AA:BB:CC:DD:EE:FF";
+const char kTestRemoteDevicePSK[] = "remote device psk";
+const char kTestRemoteDeviceSignInChallenge[] = "sign-in challenge";
+
+} // namespace proximity_auth
« no previous file with comments | « components/proximity_auth/proximity_auth_test_util.h ('k') | components/proximity_auth/proximity_monitor_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698