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

Unified Diff: ios/public/test/fake_sync_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: git cl format Created 5 years, 4 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/public/test/fake_sync_service_factory.h
diff --git a/ios/public/test/fake_sync_service_factory.h b/ios/public/test/fake_sync_service_factory.h
index 9cd315efe20bcef5d129901abe8bbb1e97504e29..97272abc46e625d8e59937fe46a7af5d57fc4586 100644
--- a/ios/public/test/fake_sync_service_factory.h
+++ b/ios/public/test/fake_sync_service_factory.h
@@ -9,8 +9,10 @@
#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
namespace sync_driver {
class FakeSyncService;
@@ -30,7 +32,7 @@ class FakeSyncServiceFactory : public BrowserStateKeyedServiceFactory {
ios::ChromeBrowserState* browser_state);
private:
- friend struct DefaultSingletonTraits<FakeSyncServiceFactory>;
+ friend struct base::DefaultSingletonTraits<FakeSyncServiceFactory>;
FakeSyncServiceFactory();
~FakeSyncServiceFactory() override;

Powered by Google App Engine
This is Rietveld 408576698