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

Issue 2647113002: [Sync] Convert Autocomplete to use sync's report error function. (Closed)

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

Description

[Sync] Convert Autocomplete to use sync's report error function. Instead of uploading all errors that are encountered, which is desirable for initial dev/canary rollout, we should switch Autocomplete to use our error function (that filters to 1% of reports on dev/canary only) at some point before beta (possibly before 100% of dev/canary). This is a reference CL for when that happens. BUG=683332

Patch Set 1 #

Patch Set 2 : Fix iOS. #

Patch Set 3 : More iOS. #

Patch Set 4 : Wrong dep... #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -15 lines) Patch
M chrome/browser/web_data_service_factory.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/test/base/testing_profile.cc View 2 chunks +2 lines, -1 line 0 comments Download
M components/autofill/core/browser/webdata/autocomplete_sync_bridge.h View 2 chunks +3 lines, -1 line 0 comments Download
M components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc View 5 chunks +5 lines, -4 lines 1 comment Download
M components/webdata_services/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/webdata_services/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/webdata_services/web_data_service_wrapper.h View 2 chunks +3 lines, -1 line 0 comments Download
M components/webdata_services/web_data_service_wrapper.cc View 4 chunks +7 lines, -5 lines 0 comments Download
M ios/chrome/browser/browser_state/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/browser_state/test_chrome_browser_state.mm View 1 2 chunks +2 lines, -1 line 0 comments Download
M ios/chrome/browser/web_data_service_factory.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 19 (17 generated)
skym
lgtm https://codereview.chromium.org/2647113002/diff/60001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc File components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc (right): https://codereview.chromium.org/2647113002/diff/60001/components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc#newcode283 components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc:283: base::BindRepeating(&ReportUnrecoverableError, channel)))); Can you create two functions in ...
3 years, 11 months ago (2017-01-24 20:49:43 UTC) #18
maxbogue
3 years, 10 months ago (2017-02-02 22:14:46 UTC) #19
Message was sent while issue was closed.
On 2017/01/24 20:49:43, skym wrote:
> lgtm
> 
>
https://codereview.chromium.org/2647113002/diff/60001/components/autofill/cor...
> File components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc
> (right):
> 
>
https://codereview.chromium.org/2647113002/diff/60001/components/autofill/cor...
> components/autofill/core/browser/webdata/autocomplete_sync_bridge.cc:283:
> base::BindRepeating(&ReportUnrecoverableError, channel))));
> Can you create two functions in
> components/sync/base/report_unrecoverable_error.h, one that reports at 100%,
and
> one that invokes the other 1% of the time, and then land this CL now?

I don't have time to do this since I'm trying to write some more documentation
before leaving. You can though!

Powered by Google App Engine
This is Rietveld 408576698