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

Unified Diff: components/proximity_auth/connection_finder.h

Issue 2561203002: Migrate weave-related classes from proximity_auth/ble to cryptauth/ble. (Closed)
Patch Set: Moved all general classes from proximity_auth to cryptauth. 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/connection_finder.h
diff --git a/components/proximity_auth/connection_finder.h b/components/proximity_auth/connection_finder.h
index 08230bee64597b3bf26c7487b7ae0bf0147fda6c..b28d524278a58f7c9c77ac4dee324f8fd6b99280 100644
--- a/components/proximity_auth/connection_finder.h
+++ b/components/proximity_auth/connection_finder.h
@@ -9,11 +9,10 @@
#include "base/callback_forward.h"
#include "base/macros.h"
+#include "components/cryptauth/connection.h"
namespace proximity_auth {
-class Connection;
-
// Interface for finding a connection to a remote device.
class ConnectionFinder {
public:
@@ -24,7 +23,8 @@ class ConnectionFinder {
// |connection_callback| with the open connection once the remote device is
// connected.
// TODO(isherman): Can this just be done as part of the constructor?
- typedef base::Callback<void(std::unique_ptr<Connection> connection)>
+ typedef base::Callback<void(
+ std::unique_ptr<cryptauth::Connection> connection)>
ConnectionCallback;
virtual void Find(const ConnectionCallback& connection_callback) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698