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

Issue 52713006: Parameterize the PrefService that PersonalDataManager uses. (Closed)

Created:
7 years, 1 month ago by blundell
Modified:
7 years, 1 month ago
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 PersonalDataManager uses. Rather than having PersonalDataManager obtain the PrefService that it uses from its BrowserContext, have the client pass in the PrefService to use. Incremental step toward abstracting BrowserContext knowledge out of PersonalDataManager. BUG=303050 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232798

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 2

Patch Set 3 : Response to review, fix unit tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -14 lines) Patch
M chrome/browser/autofill/personal_data_manager_factory.cc View 1 chunk +1 line, -1 line 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/ui/autofill/autofill_dialog_controller_unittest.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M components/autofill/core/browser/autofill_manager_unittest.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics_unittest.cc View 1 2 4 chunks +7 lines, -2 lines 0 comments Download
M components/autofill/core/browser/personal_data_manager.h View 1 2 4 chunks +8 lines, -2 lines 0 comments Download
M components/autofill/core/browser/personal_data_manager.cc View 1 2 5 chunks +9 lines, -6 lines 0 comments Download
M components/autofill/core/browser/personal_data_manager_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
blundell
7 years, 1 month ago (2013-10-31 16:00:13 UTC) #1
Jói
LGTM with documentation nit. https://codereview.chromium.org/52713006/diff/50001/components/autofill/core/browser/personal_data_manager.h File components/autofill/core/browser/personal_data_manager.h (right): https://codereview.chromium.org/52713006/diff/50001/components/autofill/core/browser/personal_data_manager.h#newcode303 components/autofill/core/browser/personal_data_manager.h:303: // The PrefService that this ...
7 years, 1 month ago (2013-10-31 17:23:05 UTC) #2
Ilya Sherman
*/autofill/* lgtm with Jói's nit addressed.
7 years, 1 month ago (2013-10-31 21:09:19 UTC) #3
Ilya Sherman
zea@chromium.org: Please review changes in chrome/browser/sync.
7 years, 1 month ago (2013-10-31 21:10:28 UTC) #4
Nicolas Zea
lgtm
7 years, 1 month ago (2013-10-31 22:33:16 UTC) #5
blundell
Hi Jói, I had to add a PrefService setter to PersonalDataManager for a couple tests ...
7 years, 1 month ago (2013-11-03 21:33:03 UTC) #6
Jói
LGTM
7 years, 1 month ago (2013-11-04 10:45:18 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/52713006/410001
7 years, 1 month ago (2013-11-04 10:46:23 UTC) #8
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=218430
7 years, 1 month ago (2013-11-04 12:41:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/52713006/410001
7 years, 1 month ago (2013-11-04 12:44:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/52713006/410001
7 years, 1 month ago (2013-11-04 17:43:29 UTC) #11
commit-bot: I haz the power
7 years, 1 month ago (2013-11-04 21:15:14 UTC) #12
Message was sent while issue was closed.
Change committed as 232798

Powered by Google App Engine
This is Rietveld 408576698