Index: chrome/browser/resources/sync_internals/chrome_sync.js |
diff --git a/chrome/browser/resources/sync_internals/chrome_sync.js b/chrome/browser/resources/sync_internals/chrome_sync.js |
index f300ffa60023a64264f4a88fa974151b80251e20..6e47e5f048675c11799f6ed028e3d3031756b8d3 100644 |
--- a/chrome/browser/resources/sync_internals/chrome_sync.js |
+++ b/chrome/browser/resources/sync_internals/chrome_sync.js |
@@ -3,10 +3,17 @@ |
// found in the LICENSE file. |
var chrome = chrome || {}; |
+ |
// TODO(akalin): Add mocking code for e.g. chrome.send() so that we |
// can test this without rebuilding chrome. |
+ |
+/** |
+ * Organize sync event listeners and asynchronous requests. |
+ * This object is one of a kind; its constructor is not public. |
+ * @type {Object} |
+ */ |
chrome.sync = chrome.sync || {}; |
-(function () { |
+(function() { |
// This Event class is a simplified version of the one from |
// event_bindings.js. |
@@ -145,7 +152,7 @@ var syncFunctions = [ |
'getNodeSummariesById', |
'getNodeDetailsById', |
'getChildNodeIds', |
- 'findNodesContainingString' |
+ 'getAllNodes', |
]; |
for (var i = 0; i < syncFunctions.length; ++i) { |