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

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

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 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 17b1f2dc83b348e7d07cb9fa2054f9703dd79bc5..1ae0f4988afa5510a0d7aefa384d191c3d87cf54 100644
--- a/chrome/browser/sync/profile_sync_service_factory.h
+++ b/chrome/browser/sync/profile_sync_service_factory.h
@@ -5,38 +5,36 @@
#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 syncer {
+namespace sync_driver {
class SyncClient;
class SyncService;
-} // namespace syncer
+}
+
+class Profile;
class ProfileSyncServiceFactory : public BrowserContextKeyedServiceFactory {
public:
- typedef base::Callback<std::unique_ptr<syncer::SyncClient>(Profile*)>
+ typedef base::Callback<std::unique_ptr<sync_driver::SyncClient>(Profile*)>
SyncClientFactory;
static browser_sync::ProfileSyncService* GetForProfile(Profile* profile);
static bool HasProfileSyncService(Profile* profile);
// Convenience method that returns the ProfileSyncService as a
- // syncer::SyncService.
- static syncer::SyncService* GetSyncServiceForBrowserContext(
+ // sync_driver::SyncService.
+ static sync_driver::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