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

Unified Diff: components/proximity_auth/proximity_monitor_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/proximity_monitor_impl.h
diff --git a/components/proximity_auth/proximity_monitor_impl.h b/components/proximity_auth/proximity_monitor_impl.h
index dc6143d6b42c99c00afe5f4f7eb6b3370566a6e3..11cffd36006d3178c009912bcd35beb82be099b4 100644
--- a/components/proximity_auth/proximity_monitor_impl.h
+++ b/components/proximity_auth/proximity_monitor_impl.h
@@ -11,8 +11,8 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
+#include "components/cryptauth/remote_device.h"
#include "components/proximity_auth/proximity_monitor.h"
-#include "components/proximity_auth/remote_device.h"
#include "device/bluetooth/bluetooth_device.h"
namespace base {
@@ -32,7 +32,7 @@ class ProximityMonitorObserver;
class ProximityMonitorImpl : public ProximityMonitor {
public:
// The |observer| is not owned, and must outlive |this| instance.
- ProximityMonitorImpl(const RemoteDevice& remote_device,
+ ProximityMonitorImpl(const cryptauth::RemoteDevice& remote_device,
std::unique_ptr<base::TickClock> clock);
~ProximityMonitorImpl() override;
@@ -104,7 +104,7 @@ class ProximityMonitorImpl : public ProximityMonitor {
void CheckForProximityStateChange();
// The remote device being monitored.
- const RemoteDevice remote_device_;
+ const cryptauth::RemoteDevice remote_device_;
// The observers attached to the ProximityMonitor.
base::ObserverList<ProximityMonitorObserver> observers_;
« no previous file with comments | « components/proximity_auth/proximity_auth_test_util.h ('k') | components/proximity_auth/proximity_monitor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698