summaryrefslogtreecommitdiffstats
path: root/tools/perf_expectations/perf_expectations.json
diff options
context:
space:
mode:
authorrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-12 23:53:19 +0000
committerrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-12 23:53:19 +0000
commit47151c66e3160c66afdd837c7ff45df35db03658 (patch)
tree229a14bb5406f335fcd60496027bb2ec4f997d31 /tools/perf_expectations/perf_expectations.json
parent534bc2478349834e475c5c18d44c84ffc3f76c27 (diff)
downloadchromium_src-47151c66e3160c66afdd837c7ff45df35db03658.zip
chromium_src-47151c66e3160c66afdd837c7ff45df35db03658.tar.gz
chromium_src-47151c66e3160c66afdd837c7ff45df35db03658.tar.bz2
Remove initial_sync_ended bits
As of crbug.com/164288, we can no longer trust initial_sync_ended. If my diagnosis is correct, then there are some clients out there who have their initial_sync_ended bits set for some data types which have not actually been synced. Those clients now crash at every startup. This change attempts to solve the problem by removing the separate initial_sync_ended array of bools and checking the database directly to learn of a type's status. The new definition of initial_sync_ended is that a type has finished initial sync if its top level folder has been downloaded and applied. To prevent crashing if the server decides to not send us those root nodes during the control types configure step, we now check that all control types are initial_sync_ended following that configure and fail gracefully if their initial sync is not completed. The new definition of initial_sync_ended makes it much easier to hit crbug.com/164914. That bug would prevent us from saving our changes following a call to PurgeEntriesWithTypeIn() in some situations. This commit also fixes that bug. Since the initial sync ended status is no longer independent from the database state, it is no longer necessary to collect debug info as to its status. It has been removed from the about:sync UI and other debug info reporting mechanisms. Its role in unit tests has also been greatly reduced. BUG=164288,164914 Review URL: https://chromiumcodereview.appspot.com/11474036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172707 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/perf_expectations/perf_expectations.json')
0 files changed, 0 insertions, 0 deletions