summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-03 03:11:51 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-03 03:11:51 +0000
commit9de8fb77690b7752953bc9ff8c60c94182a65453 (patch)
treebaa6ab5fcf154908f17ad73faaf5b746359f7aa4 /chrome/installer
parent6540fe376db91459f3d3d03d36a2b7dbd3b0c6a2 (diff)
downloadchromium_src-9de8fb77690b7752953bc9ff8c60c94182a65453.zip
chromium_src-9de8fb77690b7752953bc9ff8c60c94182a65453.tar.gz
chromium_src-9de8fb77690b7752953bc9ff8c60c94182a65453.tar.bz2
Revert 112815 - [Sync] Make syncer commands avoid posting tasks on threads with no work to do
Add abstract GetGroupsToChange() method to ModelChangingSyncerCommand. Use that to figure out which worker threads to post work on (instead of posting on all of them). Implement GetGroupsToChange() for each ModelChangingSyncerCommand. Add GetEnabledGroups() and GetEnabledGroupsWithConflicts() functions to SyncSession. Key unapplied updates index by type for ApplyUpdatesCommand. Make the abstract methods of ModelChangingSyncerCommand protected. This patch includes a speculative fix for the perf regression introduced by the last time this was landed (112178). BUG=97832 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112178 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112743 Review URL: http://codereview.chromium.org/8637006 TBR=akalin@chromium.org Review URL: http://codereview.chromium.org/8785015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112855 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
0 files changed, 0 insertions, 0 deletions