|
[Sync] Speed up sync node browser/search in about:sync
Also lay the groundwork for an auto-refreshing sync node browser.
In syncable/, add GetChildHandlesByHandle method and expose
GetAllMetaHandles.
In syncapi.{h,cc}, add getNodeSummariesById message. Also make
findNodesContainingString message use GetAllMetaHandles.
Finally, in the about:sync Javascript code, use getNodeSummariesById
when possible. This speeds up large operations (e.g., opening up the
Autofill folder, searching for a single letter) by an order of magnitude
or so.
Cleaned up docs for some Javascript functions.
BUG= 76811
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=87736
Total comments: 18
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+673 lines, -447 lines) |
Patch |
|
M |
chrome/browser/resources/sync_internals/chrome_sync.js
|
View
|
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/sync_internals/sync_node_browser.js
|
View
|
|
1 chunk |
+107 lines, -53 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/sync_internals/sync_search.js
|
View
|
|
5 chunks |
+27 lines, -21 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/conflict_resolver.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/syncapi.h
|
View
|
1
|
2 chunks |
+71 lines, -37 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/syncapi.cc
|
View
|
1
|
13 chunks |
+178 lines, -186 lines |
2 comments
|
Download
|
|
M |
chrome/browser/sync/engine/syncapi_unittest.cc
|
View
|
1
|
11 chunks |
+155 lines, -114 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/syncer_unittest.cc
|
View
|
|
7 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/syncer_util.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/syncable/syncable.h
|
View
|
1
|
4 chunks |
+21 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/syncable/syncable.cc
|
View
|
1
|
5 chunks |
+67 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/syncable/syncable_unittest.cc
|
View
|
1
|
5 chunks |
+24 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/test/sync/engine/test_syncable_utils.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|