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

Unified Diff: components/proximity_auth/remote_device_life_cycle_impl.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_life_cycle_impl.h
diff --git a/components/proximity_auth/remote_device_life_cycle_impl.h b/components/proximity_auth/remote_device_life_cycle_impl.h
index fbc272a589c94246804783d99960e01e215fe91a..c1649eb039b03406ba0a8effcc0dfb3f91011cb8 100644
--- a/components/proximity_auth/remote_device_life_cycle_impl.h
+++ b/components/proximity_auth/remote_device_life_cycle_impl.h
@@ -11,9 +11,9 @@
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
#include "base/timer/timer.h"
+#include "components/cryptauth/remote_device.h"
#include "components/proximity_auth/authenticator.h"
#include "components/proximity_auth/messenger_observer.h"
-#include "components/proximity_auth/remote_device.h"
#include "components/proximity_auth/remote_device_life_cycle.h"
namespace proximity_auth {
@@ -31,13 +31,13 @@ class RemoteDeviceLifeCycleImpl : public RemoteDeviceLifeCycle,
public:
// Creates the life cycle for controlling the given |remote_device|.
// |proximity_auth_client| is not owned.
- RemoteDeviceLifeCycleImpl(const RemoteDevice& remote_device,
+ RemoteDeviceLifeCycleImpl(const cryptauth::RemoteDevice& remote_device,
ProximityAuthClient* proximity_auth_client);
~RemoteDeviceLifeCycleImpl() override;
// RemoteDeviceLifeCycle:
void Start() override;
- RemoteDevice GetRemoteDevice() const override;
+ cryptauth::RemoteDevice GetRemoteDevice() const override;
RemoteDeviceLifeCycle::State GetState() const override;
Messenger* GetMessenger() override;
void AddObserver(Observer* observer) override;
@@ -74,7 +74,7 @@ class RemoteDeviceLifeCycleImpl : public RemoteDeviceLifeCycle,
void OnDisconnected() override;
// The remote device being controlled.
- const RemoteDevice remote_device_;
+ const cryptauth::RemoteDevice remote_device_;
// Used to grab dependencies in chrome. Not owned.
ProximityAuthClient* proximity_auth_client_;
« no previous file with comments | « components/proximity_auth/remote_device_life_cycle.h ('k') | components/proximity_auth/remote_device_life_cycle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698