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

Unified Diff: components/sync/driver/glue/sync_backend_host_core.h

Issue 2533083002: [Sync] SyncEngine refactor part 1: interfaces. (Closed)
Patch Set: Rebase. Created 4 years 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/driver/glue/sync_backend_host_core.h
diff --git a/components/sync/driver/glue/sync_backend_host_core.h b/components/sync/driver/glue/sync_backend_host_core.h
index 81b60d9b9e96ba37ec54646be5eb496268c9308f..bdec45a2d8b7de47db3922331aceff9ef42cf980 100644
--- a/components/sync/driver/glue/sync_backend_host_core.h
+++ b/components/sync/driver/glue/sync_backend_host_core.h
@@ -83,7 +83,7 @@ struct DoInitializeOptions {
};
// Helper struct to handle currying params to
-// SyncBackendHost::Core::DoConfigureSyncer.
+// SyncBackendHostCore::DoConfigureSyncer.
struct DoConfigureSyncerTypes {
DoConfigureSyncerTypes();
DoConfigureSyncerTypes(const DoConfigureSyncerTypes& other);
@@ -156,17 +156,16 @@ class SyncBackendHostCore
// Note:
//
- // The Do* methods are the various entry points from our
- // SyncBackendHost. They are all called on the sync thread to
- // actually perform synchronous (and potentially blocking) syncapi
- // operations.
+ // The Do* methods are the various entry points from our SyncBackendHostImpl.
+ // They are all called on the sync thread to actually perform synchronous (and
+ // potentially blocking) syncapi operations.
//
// Called to perform initialization of the syncapi on behalf of
- // SyncBackendHost::Initialize.
+ // SyncEngine::Initialize.
void DoInitialize(std::unique_ptr<DoInitializeOptions> options);
// Called to perform credential update on behalf of
- // SyncBackendHost::UpdateCredentials.
+ // SyncEngine::UpdateCredentials.
void DoUpdateCredentials(const SyncCredentials& credentials);
// Called to tell the syncapi to start syncing (generally after
@@ -189,7 +188,7 @@ class SyncBackendHostCore
void DoRefreshTypes(ModelTypeSet types);
// Invoked if we failed to download the necessary control types at startup.
- // Invokes SyncBackendHost::HandleControlTypesDownloadRetry.
+ // Invokes SyncEngine::HandleControlTypesDownloadRetry.
void OnControlTypesDownloadRetry();
// Called to perform tasks which require the control data to be downloaded.
@@ -227,8 +226,8 @@ class SyncBackendHostCore
void DisableProtocolEventForwarding();
// Enables the forwarding of directory type debug counters to the
- // SyncBackendHost. Also requests that updates to all counters be
- // emitted right away to initialize any new listeners' states.
+ // SyncEngineHost. Also requests that updates to all counters be emitted right
+ // away to initialize any new listeners' states.
void EnableDirectoryTypeDebugInfoForwarding();
// Disables forwarding of directory type debug counters.
@@ -275,7 +274,7 @@ class SyncBackendHostCore
// Path of the folder that stores the sync data files.
const base::FilePath sync_data_folder_path_;
- // Our parent SyncBackendHost.
+ // Our parent SyncBackendHostImpl.
WeakHandle<SyncBackendHostImpl> host_;
// Our parent's registrar (not owned). Non-null only between
« no previous file with comments | « components/sync/driver/glue/sync_backend_host.cc ('k') | components/sync/driver/glue/sync_backend_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698