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

Issue 9564001: Clean up password manager code. (Closed)

Created:
8 years, 9 months ago by Ilya Sherman
Modified:
8 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Clean up password manager code. BUG=none TEST=password saving should continue to work Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124735

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix up a few more IsOffTheRecord's #

Patch Set 3 : More test compile fixes... #

Total comments: 5

Patch Set 4 : Don't reset password form managers when subframes are navigated #

Total comments: 2

Patch Set 5 : Add a unit test for sub-frame navigation #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -98 lines) Patch
M chrome/browser/extensions/extension_menu_manager_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_form_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_manager.h View 1 2 3 4 5 chunks +13 lines, -18 lines 1 comment Download
M chrome/browser/password_manager/password_manager.cc View 1 2 3 11 chunks +57 lines, -61 lines 0 comments Download
M chrome/browser/password_manager/password_manager_unittest.cc View 1 2 3 4 2 chunks +42 lines, -1 line 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/testing_profile.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/testing_profile.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/browser_context.h View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/shell_browser_context.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/shell/shell_browser_context.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/test/test_browser_context.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/test/test_browser_context.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
Ilya Sherman
Mike, please take a look at all of the changes except to profile code. Rachel, ...
8 years, 9 months ago (2012-03-01 05:59:14 UTC) #1
jam
lgtm with niy https://chromiumcodereview.appspot.com/9564001/diff/1/chrome/browser/profiles/profile.h File chrome/browser/profiles/profile.h (right): https://chromiumcodereview.appspot.com/9564001/diff/1/chrome/browser/profiles/profile.h#newcode192 chrome/browser/profiles/profile.h:192: virtual bool IsOffTheRecord() const = 0; ...
8 years, 9 months ago (2012-03-01 06:11:00 UTC) #2
tim (not reviewing)
Thanks for doing this! I had one question, sorry for being slow... https://chromiumcodereview.appspot.com/9564001/diff/1/chrome/browser/password_manager/password_manager.cc File chrome/browser/password_manager/password_manager.cc ...
8 years, 9 months ago (2012-03-01 06:25:21 UTC) #3
Ilya Sherman
https://chromiumcodereview.appspot.com/9564001/diff/1/chrome/browser/password_manager/password_manager.cc File chrome/browser/password_manager/password_manager.cc (right): https://chromiumcodereview.appspot.com/9564001/diff/1/chrome/browser/password_manager/password_manager.cc#newcode154 chrome/browser/password_manager/password_manager.cc:154: pending_login_managers_.reset(); On 2012/03/01 06:25:21, timsteele wrote: > Could you ...
8 years, 9 months ago (2012-03-01 06:35:54 UTC) #4
tim (not reviewing)
On 2012/03/01 06:35:54, Ilya Sherman wrote: > https://chromiumcodereview.appspot.com/9564001/diff/1/chrome/browser/password_manager/password_manager.cc > File chrome/browser/password_manager/password_manager.cc (right): > > https://chromiumcodereview.appspot.com/9564001/diff/1/chrome/browser/password_manager/password_manager.cc#newcode154 ...
8 years, 9 months ago (2012-03-01 07:01:28 UTC) #5
Mike Mammarella
LGTM. Shame on whoever wrote those iter++ lines. https://chromiumcodereview.appspot.com/9564001/diff/7001/chrome/browser/password_manager/password_manager.cc File chrome/browser/password_manager/password_manager.cc (right): https://chromiumcodereview.appspot.com/9564001/diff/7001/chrome/browser/password_manager/password_manager.cc#newcode118 chrome/browser/password_manager/password_manager.cc:118: provisional_save_manager_.reset(manager); ...
8 years, 9 months ago (2012-03-01 08:23:50 UTC) #6
Ilya Sherman
https://chromiumcodereview.appspot.com/9564001/diff/7001/chrome/browser/password_manager/password_manager.cc File chrome/browser/password_manager/password_manager.cc (right): https://chromiumcodereview.appspot.com/9564001/diff/7001/chrome/browser/password_manager/password_manager.cc#newcode118 chrome/browser/password_manager/password_manager.cc:118: provisional_save_manager_.reset(manager); On 2012/03/01 08:23:51, Mike Mammarella wrote: > Do ...
8 years, 9 months ago (2012-03-01 08:39:18 UTC) #7
tim (not reviewing)
http://codereview.chromium.org/9564001/diff/7001/chrome/browser/password_manager/password_manager.cc File chrome/browser/password_manager/password_manager.cc (right): http://codereview.chromium.org/9564001/diff/7001/chrome/browser/password_manager/password_manager.cc#newcode154 chrome/browser/password_manager/password_manager.cc:154: pending_login_managers_.reset(); So, two things. One, yeah, DidNavigate (then in ...
8 years, 9 months ago (2012-03-01 17:57:52 UTC) #8
Mike Mammarella
http://codereview.chromium.org/9564001/diff/7001/chrome/browser/password_manager/password_manager.cc File chrome/browser/password_manager/password_manager.cc (right): http://codereview.chromium.org/9564001/diff/7001/chrome/browser/password_manager/password_manager.cc#newcode154 chrome/browser/password_manager/password_manager.cc:154: pending_login_managers_.reset(); On 2012/03/01 17:57:52, timsteele wrote: > So, two ...
8 years, 9 months ago (2012-03-01 19:02:04 UTC) #9
rpetterson
Profiles LGTM.
8 years, 9 months ago (2012-03-01 19:54:27 UTC) #10
Ilya Sherman
http://codereview.chromium.org/9564001/diff/7001/chrome/browser/password_manager/password_manager.cc File chrome/browser/password_manager/password_manager.cc (right): http://codereview.chromium.org/9564001/diff/7001/chrome/browser/password_manager/password_manager.cc#newcode154 chrome/browser/password_manager/password_manager.cc:154: pending_login_managers_.reset(); On 2012/03/01 19:02:04, Mike Mammarella wrote: > On ...
8 years, 9 months ago (2012-03-02 01:07:15 UTC) #11
Mike Mammarella
http://codereview.chromium.org/9564001/diff/1033/chrome/browser/password_manager/password_manager.cc File chrome/browser/password_manager/password_manager.cc (right): http://codereview.chromium.org/9564001/diff/1033/chrome/browser/password_manager/password_manager.cc#newcode153 chrome/browser/password_manager/password_manager.cc:153: return; How feasible would it be to write a ...
8 years, 9 months ago (2012-03-02 01:46:09 UTC) #12
Ilya Sherman
http://codereview.chromium.org/9564001/diff/1033/chrome/browser/password_manager/password_manager.cc File chrome/browser/password_manager/password_manager.cc (right): http://codereview.chromium.org/9564001/diff/1033/chrome/browser/password_manager/password_manager.cc#newcode153 chrome/browser/password_manager/password_manager.cc:153: return; On 2012/03/02 01:46:09, Mike Mammarella wrote: > How ...
8 years, 9 months ago (2012-03-02 02:50:06 UTC) #13
Ilya Sherman
http://codereview.chromium.org/9564001/diff/3007/chrome/browser/password_manager/password_manager.h File chrome/browser/password_manager/password_manager.h (right): http://codereview.chromium.org/9564001/diff/3007/chrome/browser/password_manager/password_manager.h#newcode51 chrome/browser/password_manager/password_manager.h:51: // the LoginPrompt code. Incidentally, I'm rather confused as ...
8 years, 9 months ago (2012-03-02 02:51:50 UTC) #14
Mike Mammarella
LGTM! Thanks for the test :)
8 years, 9 months ago (2012-03-02 03:36:26 UTC) #15
tim (not reviewing)
LGTM++ and thanks guys! re: LoginPrompt... I'll need to refresh my memory on that one, ...
8 years, 9 months ago (2012-03-02 18:21:01 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/9564001/3007
8 years, 9 months ago (2012-03-02 18:24:44 UTC) #17
commit-bot: I haz the power
8 years, 9 months ago (2012-03-02 21:31:34 UTC) #18
Change committed as 124735

Powered by Google App Engine
This is Rietveld 408576698