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

Issue 10383127: Explode Autofill sync error messages for debugging (Closed)

Created:
8 years, 7 months ago by Ilya Sherman
Modified:
8 years, 7 months ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), akalin, tim (not reviewing), dhollowa+watch_chromium.org
Visibility:
Public.

Description

Explode Autofill sync error messages for debugging BUG=121592 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137572

Patch Set 1 #

Total comments: 4

Patch Set 2 : Return a SyncError, which includes a Location, rather than a bool+message #

Total comments: 2

Patch Set 3 : DRY? What DRY? #

Patch Set 4 : Code repetition for the win #

Patch Set 5 : Remove unused method #

Total comments: 5

Patch Set 6 : Moar DRY #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -20 lines) Patch
M chrome/browser/sync/glue/generic_change_processor.cc View 1 2 3 4 5 2 chunks +78 lines, -16 lines 0 comments Download
M chrome/browser/webdata/autofill_profile_syncable_service.cc View 1 2 3 4 5 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Ilya Sherman
This adds logging for each possible source of errors, though I'm not sure how to ...
8 years, 7 months ago (2012-05-11 00:22:56 UTC) #1
tim (not reviewing)
http://codereview.chromium.org/10383127/diff/1/chrome/browser/sync/glue/generic_change_processor.cc File chrome/browser/sync/glue/generic_change_processor.cc (right): http://codereview.chromium.org/10383127/diff/1/chrome/browser/sync/glue/generic_change_processor.cc#newcode147 chrome/browser/sync/glue/generic_change_processor.cc:147: NOTREACHED(); *extra* unreachable :) One NR() might suffice, but ...
8 years, 7 months ago (2012-05-14 22:50:08 UTC) #2
Ilya Sherman
https://chromiumcodereview.appspot.com/10383127/diff/1/chrome/browser/sync/glue/generic_change_processor.cc File chrome/browser/sync/glue/generic_change_processor.cc (right): https://chromiumcodereview.appspot.com/10383127/diff/1/chrome/browser/sync/glue/generic_change_processor.cc#newcode147 chrome/browser/sync/glue/generic_change_processor.cc:147: NOTREACHED(); On 2012/05/14 22:50:08, timsteele wrote: > *extra* unreachable ...
8 years, 7 months ago (2012-05-15 00:22:15 UTC) #3
tim (not reviewing)
http://codereview.chromium.org/10383127/diff/4/chrome/browser/sync/glue/generic_change_processor.cc File chrome/browser/sync/glue/generic_change_processor.cc (right): http://codereview.chromium.org/10383127/diff/4/chrome/browser/sync/glue/generic_change_processor.cc#newcode202 chrome/browser/sync/glue/generic_change_processor.cc:202: SyncError error = AttemptDelete(change, type, type_str, &sync_node); This still ...
8 years, 7 months ago (2012-05-15 16:44:12 UTC) #4
Ilya Sherman
https://chromiumcodereview.appspot.com/10383127/diff/4/chrome/browser/sync/glue/generic_change_processor.cc File chrome/browser/sync/glue/generic_change_processor.cc (right): https://chromiumcodereview.appspot.com/10383127/diff/4/chrome/browser/sync/glue/generic_change_processor.cc#newcode202 chrome/browser/sync/glue/generic_change_processor.cc:202: SyncError error = AttemptDelete(change, type, type_str, &sync_node); On 2012/05/15 ...
8 years, 7 months ago (2012-05-16 00:43:06 UTC) #5
tim (not reviewing)
Now we're talking. I'm with you on the duplication though, had a comment about that. ...
8 years, 7 months ago (2012-05-16 17:19:37 UTC) #6
tim (not reviewing)
https://chromiumcodereview.appspot.com/10383127/diff/5005/chrome/browser/sync/glue/generic_change_processor.cc File chrome/browser/sync/glue/generic_change_processor.cc (right): https://chromiumcodereview.appspot.com/10383127/diff/5005/chrome/browser/sync/glue/generic_change_processor.cc#newcode201 chrome/browser/sync/glue/generic_change_processor.cc:201: case sync_api::BaseNode::INIT_FAILED_ENTRY_NOT_GOOD: On 2012/05/16 17:19:37, timsteele wrote: > One ...
8 years, 7 months ago (2012-05-16 17:23:29 UTC) #7
Ilya Sherman
https://chromiumcodereview.appspot.com/10383127/diff/5005/chrome/browser/sync/glue/generic_change_processor.cc File chrome/browser/sync/glue/generic_change_processor.cc (right): https://chromiumcodereview.appspot.com/10383127/diff/5005/chrome/browser/sync/glue/generic_change_processor.cc#newcode162 chrome/browser/sync/glue/generic_change_processor.cc:162: case sync_api::BaseNode::INIT_FAILED_ENTRY_IS_DEL: On 2012/05/16 17:19:37, timsteele wrote: > You ...
8 years, 7 months ago (2012-05-16 21:10:01 UTC) #8
tim (not reviewing)
LGTM!
8 years, 7 months ago (2012-05-16 22:19:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/10383127/11003
8 years, 7 months ago (2012-05-16 22:22:20 UTC) #10
commit-bot: I haz the power
8 years, 7 months ago (2012-05-17 00:09:16 UTC) #11
Change committed as 137572

Powered by Google App Engine
This is Rietveld 408576698