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

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: 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
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 1f7d8c163e092d1dea31918b8b9bed36e684787d..fcd05496d1f62cc2f8ce6ac96a02b8e0b916a5dc 100644
--- a/chrome/browser/sync/glue/sync_backend_host.h
+++ b/chrome/browser/sync/glue/sync_backend_host.h
@@ -58,9 +58,12 @@ 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).
tim (not reviewing) 2011/08/11 21:43:19 is |js_backend| only provided on |success| = true?
akalin 2011/08/12 18:24:26 It's initialized only on success = true. Added co
virtual void OnBackendInitialized(
const WeakHandle<JsBackend>& js_backend, bool success) = 0;
« chrome/browser/sync/engine/syncapi.h ('K') | « chrome/browser/sync/engine/syncapi.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698