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

Unified Diff: chrome/browser/sync/profile_sync_service_factory.h

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Rebase. 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 1ae0f4988afa5510a0d7aefa384d191c3d87cf54..17b1f2dc83b348e7d07cb9fa2054f9703dd79bc5 100644
--- a/chrome/browser/sync/profile_sync_service_factory.h
+++ b/chrome/browser/sync/profile_sync_service_factory.h
@@ -5,36 +5,38 @@
#ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_FACTORY_H_
#define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_FACTORY_H_
+#include <memory>
+
#include "base/macros.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
+class Profile;
+
namespace base {
template <typename T>
struct DefaultSingletonTraits;
-}
+} // namespace base
namespace browser_sync {
class ProfileSyncService;
} // namespace browser_sync
-namespace sync_driver {
+namespace syncer {
class SyncClient;
class SyncService;
-}
-
-class Profile;
+} // namespace syncer
class ProfileSyncServiceFactory : public BrowserContextKeyedServiceFactory {
public:
- typedef base::Callback<std::unique_ptr<sync_driver::SyncClient>(Profile*)>
+ typedef base::Callback<std::unique_ptr<syncer::SyncClient>(Profile*)>
SyncClientFactory;
static browser_sync::ProfileSyncService* GetForProfile(Profile* profile);
static bool HasProfileSyncService(Profile* profile);
// Convenience method that returns the ProfileSyncService as a
- // sync_driver::SyncService.
- static sync_driver::SyncService* GetSyncServiceForBrowserContext(
+ // syncer::SyncService.
+ static syncer::SyncService* GetSyncServiceForBrowserContext(
content::BrowserContext* context);
static ProfileSyncServiceFactory* GetInstance();
« 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