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

Unified Diff: chrome/browser/autocomplete/in_memory_url_index_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: chrome/browser/autocomplete/in_memory_url_index_factory.h
diff --git a/chrome/browser/autocomplete/in_memory_url_index_factory.h b/chrome/browser/autocomplete/in_memory_url_index_factory.h
index 4f62a4a211d0cbe7901f94bd53d3d0db8ac7f0bc..4f925e845175437ac4ed59c9d6b8b6eff26088da 100644
--- a/chrome/browser/autocomplete/in_memory_url_index_factory.h
+++ b/chrome/browser/autocomplete/in_memory_url_index_factory.h
@@ -7,7 +7,9 @@
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
+namespace base {
template <typename T> struct DefaultSingletonTraits;
+}
class InMemoryURLIndex;
class Profile;
@@ -18,7 +20,7 @@ class InMemoryURLIndexFactory : public BrowserContextKeyedServiceFactory {
static InMemoryURLIndexFactory* GetInstance();
private:
- friend struct DefaultSingletonTraits<InMemoryURLIndexFactory>;
+ friend struct base::DefaultSingletonTraits<InMemoryURLIndexFactory>;
InMemoryURLIndexFactory();
~InMemoryURLIndexFactory() override;

Powered by Google App Engine
This is Rietveld 408576698