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

Unified Diff: ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory.h

Issue 2354613002: [Sync] Fix namespaces for the browser_sync component. (Closed)
Patch Set: Address comments. Created 4 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/sync/ios_chrome_profile_sync_service_factory.h
diff --git a/ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory.h b/ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory.h
index d455a233419b2797f0fb96c31ded779c013e1488..0647a7f03623e56495fc7f8cc4ad953d8733c8a9 100644
--- a/ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory.h
+++ b/ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory.h
@@ -13,23 +13,25 @@
namespace base {
template <typename T>
struct DefaultSingletonTraits;
-}
+} // namespace base
+
+namespace browser_sync {
+class ProfileSyncService;
+} // namespace browser_sync
namespace ios {
class ChromeBrowserState;
-}
-
-class ProfileSyncService;
+} // namespace ios
// Singleton that owns all ProfileSyncService and associates them with
// ios::ChromeBrowserState.
class IOSChromeProfileSyncServiceFactory
: public BrowserStateKeyedServiceFactory {
public:
- static ProfileSyncService* GetForBrowserState(
+ static browser_sync::ProfileSyncService* GetForBrowserState(
ios::ChromeBrowserState* browser_state);
- static ProfileSyncService* GetForBrowserStateIfExists(
+ static browser_sync::ProfileSyncService* GetForBrowserStateIfExists(
ios::ChromeBrowserState* browser_state);
static IOSChromeProfileSyncServiceFactory* GetInstance();

Powered by Google App Engine
This is Rietveld 408576698