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

Unified Diff: components/proximity_auth/cryptauth/mock_cryptauth_client.cc

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/mock_cryptauth_client.cc
diff --git a/components/proximity_auth/cryptauth/mock_cryptauth_client.cc b/components/proximity_auth/cryptauth/mock_cryptauth_client.cc
index 5086dd4c5410fe6bea16246c1cde5caca4109a3c..51dd4eb8201aaae8a7eb39ef33388b890683d263 100644
--- a/components/proximity_auth/cryptauth/mock_cryptauth_client.cc
+++ b/components/proximity_auth/cryptauth/mock_cryptauth_client.cc
@@ -23,8 +23,8 @@ MockCryptAuthClientFactory::MockCryptAuthClientFactory(MockType mock_type)
MockCryptAuthClientFactory::~MockCryptAuthClientFactory() {
}
-scoped_ptr<CryptAuthClient> MockCryptAuthClientFactory::CreateInstance() {
- scoped_ptr<MockCryptAuthClient> client;
+std::unique_ptr<CryptAuthClient> MockCryptAuthClientFactory::CreateInstance() {
+ std::unique_ptr<MockCryptAuthClient> client;
if (mock_type_ == MockType::MAKE_STRICT_MOCKS)
client.reset(new testing::StrictMock<MockCryptAuthClient>());
else
« no previous file with comments | « components/proximity_auth/cryptauth/mock_cryptauth_client.h ('k') | components/proximity_auth/cryptauth/sync_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698