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

Issue 9665007: Profile refactoring: Remove all PasswordStore code from the Profile interface. (Closed)

Created:
8 years, 9 months ago by Elliot Glaysher
Modified:
8 years, 9 months ago
CC:
chromium-reviews, ncarter (slow), akalin, tfarina, kkania, robertshield, Raghu Simha, tim (not reviewing)
Visibility:
Public.

Description

Profile refactoring: Remove all PasswordStore code from the Profile interface. This PKSizes PasswordStore. All of the gnarly initialization code now lives in a PasswordStoreFactory instead of in the Profile. This patch also does small cleanups to the PasswordStore unit tests, like factoring out common mocks. BUG=112561 R=mdm,rlp TBR=jhawkins,atwilson Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126600

Patch Set 1 #

Patch Set 2 : Chromeos compile fix? #

Patch Set 3 : No, really. Fix the compile errors. #

Patch Set 4 : Hopefully fixed win compile and Linux ProfileSyncServicePasswordTest.* #

Patch Set 5 : Win and Mac #

Total comments: 5

Patch Set 6 : mdm comments #

Patch Set 7 : Add to factory list #

Unified diffs Side-by-side diffs Delta from patch set Stats (+416 lines, -321 lines) Patch
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 5 4 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/browsing_data_remover.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/importer/profile_writer.cc View 2 chunks +3 lines, -1 line 0 comments Download
A chrome/browser/password_manager/mock_password_store.h View 1 chunk +45 lines, -0 lines 0 comments Download
A chrome/browser/password_manager/mock_password_store.cc View 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/native_backend_gnome_x.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/password_manager/native_backend_kwallet_x.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/password_manager/password_form_manager.cc View 5 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/password_manager/password_manager_unittest.cc View 3 chunks +7 lines, -38 lines 0 comments Download
M chrome/browser/password_manager/password_store.h View 3 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/password_manager/password_store.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/password_store_default.h View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_default.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_default_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
A chrome/browser/password_manager/password_store_factory.h View 1 chunk +55 lines, -0 lines 0 comments Download
A chrome/browser/password_manager/password_store_factory.cc View 1 2 1 chunk +209 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_win.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_win.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/password_store_win_unittest.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/password_store_x_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/profiles/profile.h View 1 2 3 4 5 6 3 chunks +0 lines, -18 lines 0 comments Download
M chrome/browser/profiles/profile.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/profiles/profile_dependency_manager.cc View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl.h View 1 2 3 4 5 6 3 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 6 chunks +0 lines, -146 lines 0 comments Download
M chrome/browser/sync/glue/password_data_type_controller.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/sync_backend_registrar.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_autofill_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_factory.cc View 3 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_password_unittest.cc View 1 2 3 4 5 5 chunks +6 lines, -28 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_typed_url_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/sync/test/integration/passwords_helper.cc View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/sync/test_profile_sync_service.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/sync/test_profile_sync_service.cc View 1 2 3 4 5 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/options/password_manager_handler.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options2/password_manager_handler2.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/base/testing_profile.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 6 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Mike Mammarella
I'm not a ProfileKeyedService expert but this all looks reasonable to me. https://chromiumcodereview.appspot.com/9665007/diff/2006/chrome/browser/password_manager/password_store_default.cc File chrome/browser/password_manager/password_store_default.cc ...
8 years, 9 months ago (2012-03-10 05:11:52 UTC) #1
Elliot Glaysher
mdm: ptal rlp: profiles review jhawkins, atwilson: TBR for one line changes of the profile->GetPasswordStore() ...
8 years, 9 months ago (2012-03-12 19:59:40 UTC) #2
rpetterson
Profiles LGTM. Thanks for taking care of this!!
8 years, 9 months ago (2012-03-13 19:43:44 UTC) #3
Mike Mammarella
LGTM
8 years, 9 months ago (2012-03-13 20:11:24 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/9665007/8001
8 years, 9 months ago (2012-03-13 20:15:38 UTC) #5
commit-bot: I haz the power
Try job failure for 9665007-8001 (retry) on win_rel for step "unit_tests". It's a second try, ...
8 years, 9 months ago (2012-03-13 23:40:57 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/9665007/16001
8 years, 9 months ago (2012-03-13 23:54:49 UTC) #7
commit-bot: I haz the power
8 years, 9 months ago (2012-03-14 06:52:06 UTC) #8
Change committed as 126600

Powered by Google App Engine
This is Rietveld 408576698