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

Issue 10152003: sync: Make BaseNode lookup-related Init functions return specific failures. (Closed)

Created:
8 years, 8 months ago by tim (not reviewing)
Modified:
8 years, 8 months ago
Reviewers:
Nicolas Zea
CC:
chromium-reviews, Raghu Simha, ncarter (slow), akalin, tim (not reviewing)
Visibility:
Public.

Description

sync: Make BaseNode lookup-related Init functions return specific failures. This will help glue/ code raise separate UnrecoverableErrors (e.g. for encryption issues vs weird corruption) more easily. BUG=121587, 123223, 123647 TEST=unit tests / sync_unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133320

Patch Set 1 : init #

Total comments: 5

Patch Set 2 : #

Patch Set 3 : CRLF > LF on read_node_mock #

Patch Set 4 : remove read_node_mock #

Patch Set 5 : hmm revert read_node_mock? #

Patch Set 6 : nicolas' comment #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+366 lines, -233 lines) Patch
M chrome/browser/sync/glue/bookmark_change_processor.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_model_associator.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_model_associator.cc View 8 chunks +15 lines, -10 lines 0 comments Download
M chrome/browser/sync/glue/generic_change_processor.cc View 7 chunks +18 lines, -11 lines 0 comments Download
M chrome/browser/sync/glue/model_associator.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/password_change_processor.cc View 6 chunks +11 lines, -6 lines 0 comments Download
M chrome/browser/sync/glue/password_model_associator.cc View 7 chunks +13 lines, -7 lines 0 comments Download
M chrome/browser/sync/glue/session_change_processor.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/session_model_associator.cc View 1 2 3 4 5 6 9 chunks +13 lines, -10 lines 0 comments Download
M chrome/browser/sync/glue/theme_change_processor.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/theme_model_associator.cc View 1 2 3 4 5 6 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_change_processor.cc View 5 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_model_associator.cc View 7 chunks +14 lines, -8 lines 0 comments Download
M chrome/browser/sync/internal_api/base_node.h View 1 chunk +17 lines, -2 lines 0 comments Download
M chrome/browser/sync/internal_api/change_reorder_buffer.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/internal_api/read_node.h View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/sync/internal_api/read_node.cc View 2 chunks +19 lines, -14 lines 0 comments Download
M chrome/browser/sync/internal_api/sync_manager.cc View 12 chunks +15 lines, -13 lines 0 comments Download
M chrome/browser/sync/internal_api/syncapi_unittest.cc View 53 chunks +113 lines, -74 lines 0 comments Download
M chrome/browser/sync/internal_api/write_node.h View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/sync/internal_api/write_node.cc View 1 chunk +21 lines, -13 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_autofill_unittest.cc View 5 chunks +17 lines, -8 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_bookmark_unittest.cc View 10 chunks +17 lines, -14 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_password_unittest.cc View 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_preference_unittest.cc View 1 2 3 4 5 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_session_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_typed_url_unittest.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/sync/test/integration/enable_disable_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
tim (not reviewing)
8 years, 8 months ago (2012-04-19 23:16:56 UTC) #1
Nicolas Zea
LGTM http://codereview.chromium.org/10152003/diff/2001/chrome/browser/sync/profile_sync_service_autofill_unittest.cc File chrome/browser/sync/profile_sync_service_autofill_unittest.cc (right): http://codereview.chromium.org/10152003/diff/2001/chrome/browser/sync/profile_sync_service_autofill_unittest.cc#newcode85 chrome/browser/sync/profile_sync_service_autofill_unittest.cc:85: using sync_api::BaseNode; nit: remove this or remove BaseNode:: ...
8 years, 8 months ago (2012-04-19 23:55:43 UTC) #2
tim (not reviewing)
Comments addressed and worked around weird read_node_mock issue by reverting it. I'll remove the file ...
8 years, 8 months ago (2012-04-20 18:27:04 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tim@chromium.org/10152003/14002
8 years, 8 months ago (2012-04-20 18:28:59 UTC) #4
commit-bot: I haz the power
Can't apply patch for file chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc. While running patch -p1 --forward --force; patching file chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc ...
8 years, 8 months ago (2012-04-20 20:38:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tim@chromium.org/10152003/14033
8 years, 8 months ago (2012-04-20 21:19:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tim@chromium.org/10152003/14033
8 years, 8 months ago (2012-04-20 22:47:42 UTC) #7
commit-bot: I haz the power
8 years, 8 months ago (2012-04-21 01:28:17 UTC) #8
Change committed as 133320

Powered by Google App Engine
This is Rietveld 408576698