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

Unified Diff: remoting/test/mock_access_token_fetcher.h

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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
« no previous file with comments | « remoting/test/host_list_fetcher_unittest.cc ('k') | remoting/test/mock_access_token_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/mock_access_token_fetcher.h
diff --git a/remoting/test/mock_access_token_fetcher.h b/remoting/test/mock_access_token_fetcher.h
index 85b430e1403b5c306670795aa2b37fa2329b9b8f..dda08e9ee5ef1c386e7afa66c04e5270a09a4eca 100644
--- a/remoting/test/mock_access_token_fetcher.h
+++ b/remoting/test/mock_access_token_fetcher.h
@@ -35,10 +35,10 @@ class MockAccessTokenFetcher : public AccessTokenFetcher {
// Stores an access token fetcher object and wires up the mock methods to call
// through to the appropriate method on it. This method is typically used to
// pass a FakeAccessTokenFetcher.
- void SetAccessTokenFetcher(scoped_ptr<AccessTokenFetcher> fetcher);
+ void SetAccessTokenFetcher(std::unique_ptr<AccessTokenFetcher> fetcher);
private:
- scoped_ptr<AccessTokenFetcher> internal_access_token_fetcher_;
+ std::unique_ptr<AccessTokenFetcher> internal_access_token_fetcher_;
DISALLOW_COPY_AND_ASSIGN(MockAccessTokenFetcher);
};
« no previous file with comments | « remoting/test/host_list_fetcher_unittest.cc ('k') | remoting/test/mock_access_token_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698