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

Unified Diff: components/proximity_auth/cryptauth/cryptauth_client.h

Issue 1912433002: Convert //components/proximity_auth from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 8 months 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/cryptauth/cryptauth_client.h
diff --git a/components/proximity_auth/cryptauth/cryptauth_client.h b/components/proximity_auth/cryptauth/cryptauth_client.h
index d0bf1ab9e0710cf42eb9916f4cc62cf428ae3bd8..706f5ee09aeae3b2ed0cfde16be2ec7c59c6e989 100644
--- a/components/proximity_auth/cryptauth/cryptauth_client.h
+++ b/components/proximity_auth/cryptauth/cryptauth_client.h
@@ -5,11 +5,11 @@
#ifndef COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_CLIENT_H
#define COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_CLIENT_H
+#include <memory>
#include <string>
#include "base/callback_forward.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace cryptauth {
class DeviceClassifier;
@@ -107,7 +107,7 @@ class CryptAuthClientFactory {
public:
virtual ~CryptAuthClientFactory() {}
- virtual scoped_ptr<CryptAuthClient> CreateInstance() = 0;
+ virtual std::unique_ptr<CryptAuthClient> CreateInstance() = 0;
};
} // namespace proximity_auth

Powered by Google App Engine
This is Rietveld 408576698