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

Unified Diff: chrome/browser/sync/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: chrome/browser/sync/profile_sync_service_factory.h
diff --git a/chrome/browser/sync/profile_sync_service_factory.h b/chrome/browser/sync/profile_sync_service_factory.h
index 4c8c6c9e30238dbd69f69c3611a8b733a18e11f2..1ae0f4988afa5510a0d7aefa384d191c3d87cf54 100644
--- a/chrome/browser/sync/profile_sync_service_factory.h
+++ b/chrome/browser/sync/profile_sync_service_factory.h
@@ -13,20 +13,23 @@ template <typename T>
struct DefaultSingletonTraits;
}
+namespace browser_sync {
+class ProfileSyncService;
+} // namespace browser_sync
+
namespace sync_driver {
class SyncClient;
class SyncService;
}
class Profile;
-class ProfileSyncService;
class ProfileSyncServiceFactory : public BrowserContextKeyedServiceFactory {
public:
typedef base::Callback<std::unique_ptr<sync_driver::SyncClient>(Profile*)>
SyncClientFactory;
- static ProfileSyncService* GetForProfile(Profile* profile);
+ static browser_sync::ProfileSyncService* GetForProfile(Profile* profile);
static bool HasProfileSyncService(Profile* profile);
// Convenience method that returns the ProfileSyncService as a
« no previous file with comments | « chrome/browser/sync/profile_sync_service_android.cc ('k') | chrome/browser/sync/profile_sync_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698