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

Unified Diff: components/proximity_auth/remote_device_loader.h

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
Index: components/proximity_auth/remote_device_loader.h
diff --git a/components/proximity_auth/remote_device_loader.h b/components/proximity_auth/remote_device_loader.h
index c3b10f82b34566e6774eb706c99a1a66f4a34f58..81be58984646c2b91c7bcaca3b0bc7a6c33b40e2 100644
--- a/components/proximity_auth/remote_device_loader.h
+++ b/components/proximity_auth/remote_device_loader.h
@@ -12,7 +12,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "components/cryptauth/proto/cryptauth_api.pb.h"
-#include "components/proximity_auth/remote_device.h"
+#include "components/cryptauth/remote_device.h"
namespace cryptauth {
class SecureMessageDelegate;
@@ -43,7 +43,8 @@ class RemoteDeviceLoader {
~RemoteDeviceLoader();
// Loads the RemoteDevice objects. |callback| will be invoked upon completion.
- typedef base::Callback<void(const RemoteDeviceList&)> RemoteDeviceCallback;
+ typedef base::Callback<void(const cryptauth::RemoteDeviceList&)>
+ RemoteDeviceCallback;
void Load(const RemoteDeviceCallback& callback);
private:
@@ -71,7 +72,7 @@ class RemoteDeviceLoader {
RemoteDeviceCallback callback_;
// The collection of RemoteDevices to return.
- RemoteDeviceList remote_devices_;
+ cryptauth::RemoteDeviceList remote_devices_;
base::WeakPtrFactory<RemoteDeviceLoader> weak_ptr_factory_;
« no previous file with comments | « components/proximity_auth/remote_device_life_cycle_impl_unittest.cc ('k') | components/proximity_auth/remote_device_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698