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

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

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 years, 3 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/oauth2_token_service_factory.h
diff --git a/ios/chrome/browser/signin/oauth2_token_service_factory.h b/ios/chrome/browser/signin/oauth2_token_service_factory.h
index 7f456dc76cf1ca9e1b8aacf9ab28263d8f1b4656..1f757aa508ffcfb1f115c41e69994a9ff3e54b14 100644
--- a/ios/chrome/browser/signin/oauth2_token_service_factory.h
+++ b/ios/chrome/browser/signin/oauth2_token_service_factory.h
@@ -13,8 +13,11 @@ namespace ios {
class ChromeBrowserState;
}
+namespace base {
template <typename T>
struct DefaultSingletonTraits;
+} // namespace base
+
class ProfileOAuth2TokenService;
// Singleton that owns all ProfileOAuth2TokenServices and associates them with
@@ -32,7 +35,7 @@ class OAuth2TokenServiceFactory : public BrowserStateKeyedServiceFactory {
static OAuth2TokenServiceFactory* GetInstance();
private:
- friend struct DefaultSingletonTraits<OAuth2TokenServiceFactory>;
+ friend struct base::DefaultSingletonTraits<OAuth2TokenServiceFactory>;
OAuth2TokenServiceFactory();
~OAuth2TokenServiceFactory() override;

Powered by Google App Engine
This is Rietveld 408576698