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

Unified Diff: ios/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: ios/chrome/browser/autocomplete/in_memory_url_index_factory.h
diff --git a/ios/chrome/browser/autocomplete/in_memory_url_index_factory.h b/ios/chrome/browser/autocomplete/in_memory_url_index_factory.h
index 2a9598a5f475b9039c02d85012a9eaed15f40905..03cf9c89b927c4e2b49ffde093f85ab26b219458 100644
--- a/ios/chrome/browser/autocomplete/in_memory_url_index_factory.h
+++ b/ios/chrome/browser/autocomplete/in_memory_url_index_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 InMemoryURLIndex;
namespace ios {
@@ -26,7 +29,7 @@ class InMemoryURLIndexFactory : public BrowserStateKeyedServiceFactory {
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