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

Issue 2639393002: [Sync] Make SMTP always have the dump stack function. (Closed)

Created:
3 years, 11 months ago by maxbogue
Modified:
3 years, 11 months ago
Reviewers:
Mathieu, skym, Olivier
CC:
chromium-reviews, rouslan+autofill_chromium.org, sebsg+autofillwatch_chromium.org, browser-components-watch_chromium.org, mathp+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Make SMTP always have the dump stack function. Previously this was threaded through ModelTypeController, which is bad because it meant we uploaded completely useless stacks for any errors in the model code that occurred prior to sync starting up. Now the function is curried directly into the processor factory function, so we always have access to it. BUG=673883, 680093 Review-Url: https://codereview.chromium.org/2639393002 Cr-Commit-Position: refs/heads/master@{#445122} Committed: https://chromium.googlesource.com/chromium/src/+/5f90a97e73ca55f5bbe2fd23fc67da6c3c92010f

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Rebase. #

Patch Set 4 : Fix iOS build file... #

Patch Set 5 : iOS deps pt2 #

Patch Set 6 : Be consistent with RepeatingClosure. #

Patch Set 7 : Rebase. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -43 lines) Patch
M chrome/browser/sync/test/integration/two_client_uss_sync_test.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc View 1 3 chunks +6 lines, -1 line 2 comments Download
M components/browser_sync/profile_sync_components_factory_impl.cc View 1 5 chunks +8 lines, -13 lines 0 comments Download
M components/browser_sync/profile_sync_service.cc View 1 chunk +3 lines, -1 line 0 comments Download
M components/reading_list/ios/reading_list_model_unittest.mm View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M components/sync/driver/data_type_controller.h View 1 chunk +1 line, -4 lines 0 comments Download
M components/sync/driver/data_type_controller.cc View 1 chunk +1 line, -3 lines 0 comments Download
M components/sync/driver/directory_data_type_controller.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/sync/driver/directory_data_type_controller.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/sync/driver/model_type_controller.h View 1 chunk +0 lines, -2 lines 0 comments Download
M components/sync/driver/model_type_controller.cc View 3 chunks +2 lines, -6 lines 0 comments Download
M components/sync/driver/model_type_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/driver/proxy_data_type_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync/model/model_type_change_processor.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/model/model_type_change_processor.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M components/sync/model/model_type_sync_bridge.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M components/sync/model_impl/shared_model_type_processor.h View 1 2 3 4 5 6 2 chunks +8 lines, -1 line 0 comments Download
M components/sync/model_impl/shared_model_type_processor.cc View 1 2 3 4 5 6 2 chunks +10 lines, -2 lines 0 comments Download
M components/sync/model_impl/shared_model_type_processor_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/reading_list/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_factory.cc View 1 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 44 (36 generated)
maxbogue
Sky, PTAL! The final part of the error handling revamp.
3 years, 11 months ago (2017-01-19 16:24:08 UTC) #24
skym
lgtm https://codereview.chromium.org/2639393002/diff/120001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc File components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc (right): https://codereview.chromium.org/2639393002/diff/120001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc#newcode282 components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc:282: base::BindRepeating(base::IgnoreResult(&DumpWithoutCrashing))))); Can you plumb channel through to here ...
3 years, 11 months ago (2017-01-19 17:58:36 UTC) #29
maxbogue
+olivierrobin for reading_list +mathp for autofill PTAL!
3 years, 11 months ago (2017-01-19 18:03:53 UTC) #31
Mathieu
autofill lgtm
3 years, 11 months ago (2017-01-19 18:04:55 UTC) #32
Olivier
reading_list LGTM
3 years, 11 months ago (2017-01-20 16:17:05 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2639393002/120001
3 years, 11 months ago (2017-01-20 18:07:07 UTC) #40
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/chromium/src/+/5f90a97e73ca55f5bbe2fd23fc67da6c3c92010f
3 years, 11 months ago (2017-01-20 19:19:44 UTC) #43
maxbogue
3 years, 11 months ago (2017-01-20 20:39:47 UTC) #44
Message was sent while issue was closed.
https://codereview.chromium.org/2639393002/diff/120001/components/autofill/co...
File components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc
(right):

https://codereview.chromium.org/2639393002/diff/120001/components/autofill/co...
components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc:282:
base::BindRepeating(base::IgnoreResult(&DumpWithoutCrashing)))));
On 2017/01/19 17:58:36, skym wrote:
> Can you plumb channel through to here and filter out Stable/Beta (but still
> leave it at 100%) in either this CL or a follow up? (or make
> components/version_info/* provide an accessor which would be the best)

Whoops, I never responded to this. I've prepared a CL that does this for you to
refer to/patch when it's needed: http://crrev.com/2647113002

Powered by Google App Engine
This is Rietveld 408576698