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

Issue 2002012: sync: Add location info to unrecoverable error. (Closed)

Created:
10 years, 7 months ago by tim (not reviewing)
Modified:
9 years, 6 months ago
Reviewers:
skrul
CC:
chromium-reviews, ncarter (slow), ben+cc_chromium.org, idana
Visibility:
Public.

Description

sync: Add location info to unrecoverable errors, and remove the UnrecoverableErrorHandler from model associators since it's illegal to use from there anyway. BUG=42695 TEST=data type controller unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49215

Patch Set 1 : '' #

Total comments: 18

Patch Set 2 : '' #

Patch Set 3 : Add error handler back to bookmark model associator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+300 lines, -239 lines) Patch
M chrome/browser/sync/glue/autofill_change_processor.cc View 1 13 chunks +37 lines, -35 lines 0 comments Download
M chrome/browser/sync/glue/autofill_data_type_controller.h View 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/autofill_data_type_controller.cc View 1 chunk +9 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/autofill_model_associator.h View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/sync/glue/autofill_model_associator.cc View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_change_processor.cc View 8 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_data_type_controller.h View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/bookmark_data_type_controller.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_model_associator.h View 1 2 5 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_model_associator.cc View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/data_type_controller_mock.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/history_model_worker.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/browser/sync/glue/password_change_processor.cc View 8 chunks +20 lines, -21 lines 0 comments Download
M chrome/browser/sync/glue/password_data_type_controller.h View 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/password_data_type_controller.cc View 1 chunk +10 lines, -6 lines 0 comments Download
M chrome/browser/sync/glue/password_model_associator.h View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/sync/glue/password_model_associator.cc View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/sync/glue/preference_change_processor.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/preference_change_processor.cc View 4 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/sync/glue/preference_data_type_controller.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/preference_data_type_controller.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/preference_data_type_controller_unittest.cc View 1 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/sync/glue/preference_model_associator.h View 1 2 3 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/sync/glue/preference_model_associator.cc View 1 chunk +1 line, -3 lines 0 comments Download
MM chrome/browser/sync/glue/theme_change_processor.cc View 4 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/sync/glue/theme_data_type_controller.h View 2 chunks +5 lines, -1 line 0 comments Download
MM chrome/browser/sync/glue/theme_data_type_controller.cc View 1 chunk +4 lines, -2 lines 0 comments Download
MM chrome/browser/sync/glue/theme_data_type_controller_unittest.cc View 1 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/theme_model_associator.h View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/sync/glue/theme_model_associator.cc View 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/sync/glue/theme_util.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/browser/sync/glue/theme_util_unittest.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_change_processor.cc View 11 chunks +24 lines, -24 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_data_type_controller.h View 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_data_type_controller.cc View 1 chunk +9 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_model_associator.h View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_model_associator.cc View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_impl.cc View 1 2 5 chunks +5 lines, -10 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 3 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 3 chunks +12 lines, -4 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_autofill_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_mock.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_password_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_preference_unittest.cc View 1 2 2 chunks +14 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_typed_url_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_unittest.cc View 1 2 3 chunks +15 lines, -6 lines 0 comments Download
M chrome/browser/sync/profile_sync_test_util.h View 1 2 3 chunks +6 lines, -11 lines 0 comments Download
M chrome/browser/sync/unrecoverable_error_handler.h View 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
tim (not reviewing)
10 years, 6 months ago (2010-06-07 00:34:45 UTC) #1
skrul
LGTM Very awesome! I'm so glad you did this. http://codereview.chromium.org/2002012/diff/56052/41007 File chrome/browser/sync/glue/autofill_change_processor.cc (right): http://codereview.chromium.org/2002012/diff/56052/41007#newcode103 chrome/browser/sync/glue/autofill_change_processor.cc:103: ...
10 years, 6 months ago (2010-06-07 17:57:25 UTC) #2
tim (not reviewing)
http://codereview.chromium.org/2002012/diff/56052/41007 File chrome/browser/sync/glue/autofill_change_processor.cc (right): http://codereview.chromium.org/2002012/diff/56052/41007#newcode103 chrome/browser/sync/glue/autofill_change_processor.cc:103: std::string err = "Failed to overwrite label for node"; ...
10 years, 6 months ago (2010-06-08 01:29:17 UTC) #3
tim (not reviewing)
10 years, 6 months ago (2010-06-08 23:02:29 UTC) #4
tim (not reviewing)
On 2010/06/08 23:02:29, timsteele wrote: > new snapshot up
10 years, 6 months ago (2010-06-08 23:02:46 UTC) #5
skrul
10 years, 6 months ago (2010-06-08 23:22:42 UTC) #6
LGTM yay factories.

And I like the template removal, but the pref merge change I'm trying to get in
removes the usage of the TestModelAssociatior stuff from all the unit tests
except for bookmarks.  I've been trying to get rid of all the "subclass to make
testable" instances and this was on my hit list :)  Feel free to submit as is
though, I'll deal with the merge.

Powered by Google App Engine
This is Rietveld 408576698