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

Unified Diff: ios/chrome/browser/content_settings/cookie_settings_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/content_settings/cookie_settings_factory.h
diff --git a/ios/chrome/browser/content_settings/cookie_settings_factory.h b/ios/chrome/browser/content_settings/cookie_settings_factory.h
index cd12a9566aedaaa9907da6a6b41857bb7aae52c9..1b4f8e6ff5e97c42a49d70d508a9dd03f97e47d0 100644
--- a/ios/chrome/browser/content_settings/cookie_settings_factory.h
+++ b/ios/chrome/browser/content_settings/cookie_settings_factory.h
@@ -9,8 +9,10 @@
#include "base/memory/ref_counted.h"
#include "components/keyed_service/ios/refcounted_browser_state_keyed_service_factory.h"
+namespace base {
template <typename T>
struct DefaultSingletonTraits;
+}
namespace content_settings {
class CookieSettings;
@@ -29,7 +31,7 @@ class CookieSettingsFactory : public RefcountedBrowserStateKeyedServiceFactory {
static CookieSettingsFactory* GetInstance();
private:
- friend struct DefaultSingletonTraits<CookieSettingsFactory>;
+ friend struct base::DefaultSingletonTraits<CookieSettingsFactory>;
CookieSettingsFactory();
~CookieSettingsFactory() override;

Powered by Google App Engine
This is Rietveld 408576698