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

Unified Diff: components/proximity_auth/mock_proximity_auth_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/mock_proximity_auth_client.h
diff --git a/components/proximity_auth/mock_proximity_auth_client.h b/components/proximity_auth/mock_proximity_auth_client.h
index 3c164f67af786f06283c7c244dce1175ca805f9a..f55f5763277b1d6a11760ec3977ef0a708a267ef 100644
--- a/components/proximity_auth/mock_proximity_auth_client.h
+++ b/components/proximity_auth/mock_proximity_auth_client.h
@@ -42,8 +42,9 @@ class MockProximityAuthClient : public ProximityAuthClient {
MOCK_METHOD0(GetCryptAuthEnrollmentManager,
CryptAuthEnrollmentManager*(void));
MOCK_METHOD0(GetCryptAuthDeviceManager, CryptAuthDeviceManager*(void));
- scoped_ptr<SecureMessageDelegate> CreateSecureMessageDelegate() override;
- scoped_ptr<CryptAuthClientFactory> CreateCryptAuthClientFactory() override;
+ std::unique_ptr<SecureMessageDelegate> CreateSecureMessageDelegate() override;
+ std::unique_ptr<CryptAuthClientFactory> CreateCryptAuthClientFactory()
+ override;
// Proxy mock methods because implementation requires returning scoped_ptr.
MOCK_METHOD0(CreateSecureMessageDelegatePtr, SecureMessageDelegate*(void));
« no previous file with comments | « components/proximity_auth/messenger_observer.h ('k') | components/proximity_auth/mock_proximity_auth_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698