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

Issue 49303005: Parameterize the PrefService that AutofillDownloadManager uses. (Closed)

Created:
7 years, 1 month ago by blundell
Modified:
7 years, 1 month ago
Reviewers:
Ilya Sherman, Jói
CC:
chromium-reviews, tim+watch_chromium.org, benquan, haitaol+watch_chromium.org, browser-components-watch_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, rsimha+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org, sgurun-gerrit only, benm (inactive)
Visibility:
Public.

Description

Parameterize the PrefService that AutofillDownloadManager uses. Rather than AutofillDownloadManager obtaining the PrefService to use from BrowserContext, have AutofillDownloadManager's creator supply it with the PrefService to use. Incremental step toward abstracting BrowserContext knowledge out of AutofillDownloadManager. BUG=303050 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233375

Patch Set 1 #

Patch Set 2 : Remove extraneous diff #

Total comments: 4

Patch Set 3 : Response to review #

Patch Set 4 : Fix test, introduce PrefService testing helper #

Total comments: 12

Patch Set 5 : Response to review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -21 lines) Patch
M chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc View 1 2 3 4 2 chunks +7 lines, -4 lines 0 comments Download
M components/autofill/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/core/browser/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/browser/autocomplete_history_manager_unittest.cc View 1 2 3 4 3 chunks +7 lines, -4 lines 0 comments Download
M components/autofill/core/browser/autofill_common_test.h View 1 2 3 4 2 chunks +11 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_common_test.cc View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_download.h View 1 2 3 chunks +10 lines, -3 lines 0 comments Download
M components/autofill/core/browser/autofill_download.cc View 5 chunks +6 lines, -8 lines 0 comments Download
M components/autofill/core/browser/autofill_download_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
blundell
Dependent on https://codereview.chromium.org/52713006/ (just for the DEPS restriction part). Thanks!
7 years, 1 month ago (2013-11-04 10:49:43 UTC) #1
Jói
LGTM On Mon, Nov 4, 2013 at 10:49 AM, <blundell@chromium.org> wrote: > Reviewers: Jói, Ilya ...
7 years, 1 month ago (2013-11-04 10:52:29 UTC) #2
Ilya Sherman
Tentative LGTM, but I'd like to make sure that we don't add unnecessary complexity to ...
7 years, 1 month ago (2013-11-05 00:17:03 UTC) #3
blundell
Hi Ilya, Responded to your concern. I'm going to send this through the CQ, but ...
7 years, 1 month ago (2013-11-05 15:26:53 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/49303005/150001
7 years, 1 month ago (2013-11-05 15:29:42 UTC) #5
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=185106
7 years, 1 month ago (2013-11-05 16:28:32 UTC) #6
blundell
Hi Ilya, It turns out that I had missed a test (AutocompleteHistoryManagerUnittest) that also now ...
7 years, 1 month ago (2013-11-05 17:30:09 UTC) #7
Ilya Sherman
Thanks, LGTM % nits. https://codereview.chromium.org/49303005/diff/480001/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc File chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc (right): https://codereview.chromium.org/49303005/diff/480001/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc#newcode14 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc:14: #include "components/autofill/core/browser/autofill_common_test.h" nit: Completely orthogonal ...
7 years, 1 month ago (2013-11-05 18:50:49 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/49303005/460002
7 years, 1 month ago (2013-11-06 10:31:02 UTC) #9
blundell
https://codereview.chromium.org/49303005/diff/480001/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc File chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc (right): https://codereview.chromium.org/49303005/diff/480001/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc#newcode14 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc:14: #include "components/autofill/core/browser/autofill_common_test.h" Strongly agreed. Filed crbug.com/315492. On 2013/11/05 18:50:49, ...
7 years, 1 month ago (2013-11-06 10:37:20 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=220509
7 years, 1 month ago (2013-11-06 12:41:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/49303005/460002
7 years, 1 month ago (2013-11-06 12:45:29 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=94875
7 years, 1 month ago (2013-11-06 16:26:09 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/49303005/460002
7 years, 1 month ago (2013-11-06 17:01:24 UTC) #14
commit-bot: I haz the power
7 years, 1 month ago (2013-11-06 21:30:55 UTC) #15
Message was sent while issue was closed.
Change committed as 233375

Powered by Google App Engine
This is Rietveld 408576698