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

Unified Diff: ios/chrome/browser/history/top_sites_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/history/top_sites_factory.h
diff --git a/ios/chrome/browser/history/top_sites_factory.h b/ios/chrome/browser/history/top_sites_factory.h
index 8f1cbd5be3b0e1fb79cfefacb8d06f87964bde42..a84d60054b3c47431025144c43c7c95fcbf86b2c 100644
--- a/ios/chrome/browser/history/top_sites_factory.h
+++ b/ios/chrome/browser/history/top_sites_factory.h
@@ -8,9 +8,10 @@
#include "base/macros.h"
#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 base
namespace history {
class TopSites;
@@ -29,7 +30,7 @@ class TopSitesFactory : public RefcountedBrowserStateKeyedServiceFactory {
static TopSitesFactory* GetInstance();
private:
- friend struct DefaultSingletonTraits<TopSitesFactory>;
+ friend struct base::DefaultSingletonTraits<TopSitesFactory>;
TopSitesFactory();
~TopSitesFactory() override;
« no previous file with comments | « ios/chrome/browser/history/history_service_factory.cc ('k') | ios/chrome/browser/history/top_sites_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698