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

Unified Diff: chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_connection.h

Issue 2561203002: Migrate weave-related classes from proximity_auth/ble to cryptauth/ble. (Closed)
Patch Set: Rebase. 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: chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_connection.h
diff --git a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_connection.h b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_connection.h
index f72f2a7fea86509f0a627747eba80ccbe618d0ff..9c42c0c4ad4f7239e40b15c3e267de764ed26152 100644
--- a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_connection.h
+++ b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_connection.h
@@ -11,22 +11,22 @@
#include "extensions/browser/api/api_resource.h"
#include "extensions/browser/api/api_resource_manager.h"
-namespace proximity_auth {
+namespace cryptauth {
class Connection;
-} // namespace proximity_auth
+} // namespace cryptauth
namespace extensions {
-// An ApiResource wrapper for a proximity_auth::Connection.
+// An ApiResource wrapper for a cryptauth::Connection.
class EasyUnlockPrivateConnection : public ApiResource {
public:
EasyUnlockPrivateConnection(
bool persistent,
const std::string& owner_extension_id,
- std::unique_ptr<proximity_auth::Connection> connection);
+ std::unique_ptr<cryptauth::Connection> connection);
~EasyUnlockPrivateConnection() override;
// Returns a pointer to the underlying connection object.
- proximity_auth::Connection* GetConnection() const;
+ cryptauth::Connection* GetConnection() const;
// ApiResource override.
bool IsPersistent() const override;
@@ -46,7 +46,7 @@ class EasyUnlockPrivateConnection : public ApiResource {
// The connection is owned by this instance and will automatically disconnect
// when deleted.
- std::unique_ptr<proximity_auth::Connection> connection_;
+ std::unique_ptr<cryptauth::Connection> connection_;
DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateConnection);
};

Powered by Google App Engine
This is Rietveld 408576698