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

Issue 15701022: [Sync] Add support for sync Persistence Errors (Closed)

Created:
7 years, 6 months ago by Nicolas Zea
Modified:
7 years, 5 months ago
Reviewers:
haitaol1
CC:
chromium-reviews, Raghu Simha, haitaol1, akalin, tim (not reviewing), Andrew T Wilson (Slow), sky
Visibility:
Public.

Description

[Sync] Add support for sync Persistence Errors Persistence errors are those detected by the native model's transaction version being newer than sync's. They currently have no effect beyond a normal association error, but will eventually result in delayed association after a sync update. BUG=239828 TBR=atwilson@chromium.org, sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=209810

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Update tests #

Total comments: 4

Patch Set 4 : Track persistence errors in failed data type handler #

Patch Set 5 : Merge constructors #

Patch Set 6 : Rebase #

Patch Set 7 : Update test #

Patch Set 8 : Fix #

Patch Set 9 : Move bookmark change into separate patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+388 lines, -177 lines) Patch
M chrome/browser/extensions/api/storage/settings_sync_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/storage/syncable_settings_storage.cc View 1 2 3 4 5 6 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/history/delete_directive_handler.cc View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/history/typed_url_syncable_service.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/policy/managed_mode_policy_provider_unittest.cc View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/prefs/pref_model_associator.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url_service.cc View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url_service_sync_unittest.cc View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_model_associator.h View 1 2 3 4 5 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_model_associator.cc View 1 2 3 4 5 6 7 3 chunks +17 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/data_type_controller.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl.cc View 1 2 3 4 5 5 chunks +12 lines, -13 lines 0 comments Download
M chrome/browser/sync/glue/failed_data_types_handler.h View 1 2 3 3 chunks +16 lines, -19 lines 0 comments Download
M chrome/browser/sync/glue/failed_data_types_handler.cc View 1 2 3 4 3 chunks +39 lines, -22 lines 0 comments Download
M chrome/browser/sync/glue/fake_data_type_controller.cc View 1 2 3 4 2 chunks +12 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/favicon_cache.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/glue/favicon_cache_unittest.cc View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/frontend_data_type_controller.cc View 1 2 3 4 3 chunks +10 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/generic_change_processor.cc View 1 2 3 4 5 6 chunks +19 lines, -8 lines 0 comments Download
M chrome/browser/sync/glue/model_association_manager.cc View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/model_association_manager_unittest.cc View 1 2 3 4 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/non_frontend_data_type_controller.cc View 1 2 3 4 4 chunks +13 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/non_ui_data_type_controller.cc View 1 2 3 4 6 chunks +23 lines, -10 lines 0 comments Download
M chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc View 1 2 3 4 2 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/password_model_associator.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/shared_change_processor.cc View 1 2 3 4 3 chunks +12 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/ui_data_type_controller.cc View 1 2 3 4 4 chunks +14 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/ui_data_type_controller_unittest.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 5 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_startup_unittest.cc View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_typed_url_unittest.cc View 1 2 3 4 5 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/themes/theme_syncable_service.cc View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/themes/theme_syncable_service_unittest.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/webdata/autocomplete_syncable_service.cc View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/webdata/autofill_profile_syncable_service.cc View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download
M sync/api/sync_error.h View 1 2 3 4 5 chunks +30 lines, -12 lines 0 comments Download
M sync/api/sync_error.cc View 1 2 3 4 5 6 5 chunks +43 lines, -15 lines 0 comments Download
M sync/api/sync_error_unittest.cc View 1 2 3 4 5 6 6 chunks +13 lines, -11 lines 0 comments Download
M sync/api/sync_merge_result.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M sync/api/sync_merge_result_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
Nicolas Zea
PTAL
7 years, 6 months ago (2013-06-07 21:07:50 UTC) #1
haitaol1
https://codereview.chromium.org/15701022/diff/11001/sync/api/sync_error.h File sync/api/sync_error.h (right): https://codereview.chromium.org/15701022/diff/11001/sync/api/sync_error.h#newcode51 sync/api/sync_error.h:51: // Create a new Sync error of type |error_type| ...
7 years, 6 months ago (2013-06-10 22:47:56 UTC) #2
Nicolas Zea
https://codereview.chromium.org/15701022/diff/11001/sync/api/sync_error.h File sync/api/sync_error.h (right): https://codereview.chromium.org/15701022/diff/11001/sync/api/sync_error.h#newcode51 sync/api/sync_error.h:51: // Create a new Sync error of type |error_type| ...
7 years, 6 months ago (2013-06-20 18:31:33 UTC) #3
haitaol1
https://codereview.chromium.org/15701022/diff/11001/sync/api/sync_error.h File sync/api/sync_error.h (right): https://codereview.chromium.org/15701022/diff/11001/sync/api/sync_error.h#newcode51 sync/api/sync_error.h:51: // Create a new Sync error of type |error_type| ...
7 years, 6 months ago (2013-06-20 20:35:51 UTC) #4
Nicolas Zea
PTAL. I had to go ahead and update the callsites for all SyncErrors to specify ...
7 years, 5 months ago (2013-07-01 21:46:20 UTC) #5
haitaol1
lgtm
7 years, 5 months ago (2013-07-01 21:53:05 UTC) #6
Nicolas Zea
+TBR suggested owners (updated the SyncError callsites). Committing via bot.
7 years, 5 months ago (2013-07-01 23:24:02 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/15701022/26001
7 years, 5 months ago (2013-07-01 23:25:39 UTC) #8
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 5 months ago (2013-07-01 23:41:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/15701022/44003
7 years, 5 months ago (2013-07-01 23:51:56 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=144732
7 years, 5 months ago (2013-07-02 01:42:38 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/15701022/68001
7 years, 5 months ago (2013-07-02 18:34:34 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=56398
7 years, 5 months ago (2013-07-02 19:43:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/15701022/83002
7 years, 5 months ago (2013-07-02 20:15:21 UTC) #14
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 5 months ago (2013-07-02 21:45:41 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/15701022/83002
7 years, 5 months ago (2013-07-02 21:58:46 UTC) #16
commit-bot: I haz the power
7 years, 5 months ago (2013-07-02 23:24:17 UTC) #17
Message was sent while issue was closed.
Change committed as 209810

Powered by Google App Engine
This is Rietveld 408576698