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

Unified Diff: components/proximity_auth/remote_device_loader_unittest.cc

Issue 2502343003: Moved //components/proximity_auth/cryptauth to //components/cryptauth. (Closed)
Patch Set: Fixed proto #includes. Created 4 years, 1 month 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/remote_device_loader.cc ('k') | components/proximity_auth/webui/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/remote_device_loader_unittest.cc
diff --git a/components/proximity_auth/remote_device_loader_unittest.cc b/components/proximity_auth/remote_device_loader_unittest.cc
index 8709e8de954bf4e49bcc25420c5e7d5a8bc9a1ad..a758331b642ace06341864dbf7b1deb176ecaada 100644
--- a/components/proximity_auth/remote_device_loader_unittest.cc
+++ b/components/proximity_auth/remote_device_loader_unittest.cc
@@ -11,7 +11,7 @@
#include "base/bind.h"
#include "base/macros.h"
-#include "components/proximity_auth/cryptauth/fake_secure_message_delegate.h"
+#include "components/cryptauth/fake_secure_message_delegate.h"
#include "components/proximity_auth/proximity_auth_pref_manager.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -54,7 +54,7 @@ class MockProximityAuthPrefManager : public ProximityAuthPrefManager {
class ProximityAuthRemoteDeviceLoaderTest : public testing::Test {
public:
ProximityAuthRemoteDeviceLoaderTest()
- : secure_message_delegate_(new FakeSecureMessageDelegate()),
+ : secure_message_delegate_(new cryptauth::FakeSecureMessageDelegate()),
user_private_key_(secure_message_delegate_->GetPrivateKeyForPublicKey(
kUserPublicKey)),
pref_manager_(new MockProximityAuthPrefManager()) {}
@@ -71,7 +71,8 @@ class ProximityAuthRemoteDeviceLoaderTest : public testing::Test {
protected:
// Handles deriving the PSK. Ownership will be passed to the
// RemoteDeviceLoader under test.
- std::unique_ptr<FakeSecureMessageDelegate> secure_message_delegate_;
+ std::unique_ptr<cryptauth::FakeSecureMessageDelegate>
+ secure_message_delegate_;
// The private key of the user local device.
std::string user_private_key_;
« no previous file with comments | « components/proximity_auth/remote_device_loader.cc ('k') | components/proximity_auth/webui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698