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

Unified Diff: ios/chrome/browser/signin/fake_oauth2_token_service_builder.h

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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: ios/chrome/browser/signin/fake_oauth2_token_service_builder.h
diff --git a/ios/chrome/browser/signin/fake_oauth2_token_service_builder.h b/ios/chrome/browser/signin/fake_oauth2_token_service_builder.h
index fde891d91673729650b715e2bb2a6828325412b9..08876665903b14362567a7e7bb4a43ffe17bcefe 100644
--- a/ios/chrome/browser/signin/fake_oauth2_token_service_builder.h
+++ b/ios/chrome/browser/signin/fake_oauth2_token_service_builder.h
@@ -5,7 +5,7 @@
#ifndef IOS_CHROME_BROWSER_SIGNIN_FAKE_OAUTH2_TOKEN_SERVICE_BUILDER_H_
#define IOS_CHROME_BROWSER_SIGNIN_FAKE_OAUTH2_TOKEN_SERVICE_BUILDER_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
namespace web {
class BrowserState;
@@ -16,7 +16,7 @@ class KeyedService;
// Helper function to be used with
// BrowserStateKeyedServiceFactory::SetTestingFactory() that returns a
// FakeProfileOAuth2TokenService object.
-scoped_ptr<KeyedService> BuildFakeOAuth2TokenService(
+std::unique_ptr<KeyedService> BuildFakeOAuth2TokenService(
web::BrowserState* context);
#endif // IOS_CHROME_BROWSER_SIGNIN_FAKE_OAUTH2_TOKEN_SERVICE_BUILDER_H_

Powered by Google App Engine
This is Rietveld 408576698