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

Unified Diff: components/sync/core/sync_manager.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: components/sync/core/sync_manager.h
diff --git a/components/sync/core/sync_manager.h b/components/sync/core/sync_manager.h
index 5f3d1aff3a8a2d5e2c30cc2c5888040a9e95dec1..faa857b06acd5265739cb17abc7279845256af54 100644
--- a/components/sync/core/sync_manager.h
+++ b/components/sync/core/sync_manager.h
@@ -320,8 +320,8 @@ class SyncManager {
// Inform the syncer that its cached information about a type is obsolete.
virtual void OnIncomingInvalidation(
- syncer::ModelType type,
- std::unique_ptr<syncer::InvalidationInterface> invalidation) = 0;
+ ModelType type,
+ std::unique_ptr<InvalidationInterface> invalidation) = 0;
// Adds a listener to be notified of sync events.
// NOTE: It is OK (in fact, it's probably a good idea) to call this before
@@ -347,8 +347,7 @@ class SyncManager {
virtual UserShare* GetUserShare() = 0;
// Returns an instance of the main interface for non-blocking sync types.
- virtual std::unique_ptr<syncer_v2::ModelTypeConnector>
- GetModelTypeConnectorProxy() = 0;
+ virtual std::unique_ptr<ModelTypeConnector> GetModelTypeConnectorProxy() = 0;
// Returns the cache_guid of the currently open database.
// Requires that the SyncManager be initialized.
@@ -375,11 +374,11 @@ class SyncManager {
// Functions to manage registrations of DebugInfoObservers.
virtual void RegisterDirectoryTypeDebugInfoObserver(
- syncer::TypeDebugInfoObserver* observer) = 0;
+ TypeDebugInfoObserver* observer) = 0;
virtual void UnregisterDirectoryTypeDebugInfoObserver(
- syncer::TypeDebugInfoObserver* observer) = 0;
+ TypeDebugInfoObserver* observer) = 0;
virtual bool HasDirectoryTypeDebugInfoObserver(
- syncer::TypeDebugInfoObserver* observer) = 0;
+ TypeDebugInfoObserver* observer) = 0;
// Request that all current counter values be emitted as though they had just
// been updated. Useful for initializing new observers' state.
« no previous file with comments | « components/sync/core/simple_metadata_change_list_unittest.cc ('k') | components/sync/core/test/fake_model_type_connector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698