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

Unified Diff: ios/chrome/browser/search_engines/template_url_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/search_engines/template_url_service_factory.h
diff --git a/ios/chrome/browser/search_engines/template_url_service_factory.h b/ios/chrome/browser/search_engines/template_url_service_factory.h
index 5609e8d9a4df188b16c0c80072b1a8e6da8cac3c..4f50e3e4cf1189047859307daa52782232be9040 100644
--- a/ios/chrome/browser/search_engines/template_url_service_factory.h
+++ b/ios/chrome/browser/search_engines/template_url_service_factory.h
@@ -9,8 +9,11 @@
#include "base/memory/scoped_ptr.h"
#include "components/keyed_service/ios/browser_state_keyed_service_factory.h"
+namespace base {
template <typename T>
struct DefaultSingletonTraits;
+} // namespace base
+
class TemplateURLService;
namespace ios {
@@ -30,7 +33,7 @@ class TemplateURLServiceFactory : public BrowserStateKeyedServiceFactory {
static TestingFactoryFunction GetDefaultFactory();
private:
- friend struct DefaultSingletonTraits<TemplateURLServiceFactory>;
+ friend struct base::DefaultSingletonTraits<TemplateURLServiceFactory>;
TemplateURLServiceFactory();
~TemplateURLServiceFactory() override;

Powered by Google App Engine
This is Rietveld 408576698