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

Unified Diff: chrome/browser/sync/engine/syncapi.h

Issue 7049028: [Sync] Speed up Javascript node operations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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/resources/sync_internals/sync_node_browser.js ('k') | chrome/browser/sync/engine/syncapi.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/syncapi.h
diff --git a/chrome/browser/sync/engine/syncapi.h b/chrome/browser/sync/engine/syncapi.h
index bdbddc4f8969df4604c350ace84acf61dc401ea8..d65c979905433cdd3406d7dc4815b27269166fa3 100644
--- a/chrome/browser/sync/engine/syncapi.h
+++ b/chrome/browser/sync/engine/syncapi.h
@@ -971,22 +971,24 @@ class SyncManager {
// The following messages are processed by the returned backend:
//
// getNotificationState():
- // If there is a parent router, sends the
- // onGetNotificationStateFinished(boolean notificationsEnabled)
- // event to |sender| via the parent router with whether or not
- // notifications are enabled.
+ // callback(boolean notificationsEnabled):
+ // notificationsEnabled: whether or not notifications are
+ // enabled.
//
// getRootNode():
- // If there is a parent router, sends the
- // onGetRootNodeFinished(dictionary nodeInfo) event to |sender|
- // via the parent router with information on the root node.
+ // callback(dictionary nodeInfo):
+ // nodeInfo: Information on the root node.
//
- // getNodeById(string id):
- // If there is a parent router, sends the
- // onGetNodeByIdFinished(dictionary nodeInfo) event to |sender|
- // via the parent router with information on the node with the
- // given id (metahandle), if the id is valid and a node with that
- // id exists. Otherwise, calls onGetNodeByIdFinished(null).
+ // getNodesById(array idList):
+ // idList: A list of IDs as strings.
+ // callback(array nodeList):
+ // nodeList: Information on each node for each valid id in
+ // idList. Not guaranteed to be in any order.
+ //
+ // getChildNodeIds(string id):
+ // id: The id of the node for which to return the child node ids.
+ // callback(array idList):
+ // idList: The child node IDs of the node with the given id.
//
// All other messages are dropped.
browser_sync::JsBackend* GetJsBackend();
« no previous file with comments | « chrome/browser/resources/sync_internals/sync_node_browser.js ('k') | chrome/browser/sync/engine/syncapi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698