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

Unified Diff: chrome/browser/sync/glue/sync_backend_host.h

Issue 7614001: [Sync] Add comment for SyncBackendHost::OnBackendInitialized (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 9 years, 4 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
« no previous file with comments | « chrome/browser/sync/engine/syncapi.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/sync_backend_host.h
diff --git a/chrome/browser/sync/glue/sync_backend_host.h b/chrome/browser/sync/glue/sync_backend_host.h
index 7e6ee22e713c1b18640ff0ab4915c6cf2f84f933..9270f7580e01d6816ea4bc0ca15176bfa9942288 100644
--- a/chrome/browser/sync/glue/sync_backend_host.h
+++ b/chrome/browser/sync/glue/sync_backend_host.h
@@ -55,9 +55,13 @@ class SyncFrontend {
public:
SyncFrontend() {}
- // The backend has completed initialization and it is now ready to accept and
- // process changes. If success is false, initialization wasn't able to be
- // completed and should be retried.
+ // The backend has completed initialization and it is now ready to
+ // accept and process changes. If success is false, initialization
+ // wasn't able to be completed and should be retried.
+ //
+ // |js_backend| is what about:sync interacts with; it's different
+ // from the 'Backend' in 'OnBackendInitialized' (unfortunately). It
+ // is initialized only if |success| is true.
virtual void OnBackendInitialized(
const WeakHandle<JsBackend>& js_backend, bool success) = 0;
« no previous file with comments | « chrome/browser/sync/engine/syncapi.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698