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

Unified Diff: components/proximity_auth/device_to_device_authenticator_unittest.cc

Issue 2560713002: Move RemoteDevice from //components/proximity_auth to //components/cryptauth so that it can be easi… (Closed)
Patch Set: Add cryptauth dependency. 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
« no previous file with comments | « components/proximity_auth/connection_unittest.cc ('k') | components/proximity_auth/fake_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/device_to_device_authenticator_unittest.cc
diff --git a/components/proximity_auth/device_to_device_authenticator_unittest.cc b/components/proximity_auth/device_to_device_authenticator_unittest.cc
index 829c1317b88353ea77bb88b3f4b0077ca314e1e1..5dbbe836cd0c90936474b135ee2cba63b4da8ccf 100644
--- a/components/proximity_auth/device_to_device_authenticator_unittest.cc
+++ b/components/proximity_auth/device_to_device_authenticator_unittest.cc
@@ -63,7 +63,7 @@ void SaveValidateHelloMessageResult(bool* validated_out,
// Connection implementation for testing.
class FakeConnection : public Connection {
public:
- FakeConnection(const RemoteDevice& remote_device)
+ FakeConnection(const cryptauth::RemoteDevice& remote_device)
: Connection(remote_device), connection_blocked_(false) {}
~FakeConnection() override {}
@@ -222,7 +222,7 @@ class ProximityAuthDeviceToDeviceAuthenticatorTest : public testing::Test {
MOCK_METHOD1(OnAuthenticationResultProxy, void(Authenticator::Result result));
// Contains information about the remote device.
- const RemoteDevice remote_device_;
+ const cryptauth::RemoteDevice remote_device_;
// Simulates the connection to the remote device.
FakeConnection connection_;
« no previous file with comments | « components/proximity_auth/connection_unittest.cc ('k') | components/proximity_auth/fake_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698