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

Issue 2818035: Don't re-store deleted passwords on form submit on the Mac (Closed)

Created:
10 years, 5 months ago by stuartmorgan
Modified:
9 years, 7 months ago
Reviewers:
TVL, Paweł Hajdan Jr.
CC:
chromium-reviews, John Grabowski, pam+watch_chromium.org, ben+cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Don't re-store deleted passwords on form submit on the Mac Adds test coverage for the various update cases to make sure they are all handled correctly. Also fixes a regression during the recent PasswordStore refactoring that caused the Mac implementation to run queries on the wrong thread (found by the new unit tests). BUG=35603 TEST=See bug; other password update cases should continue to work as before. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51135

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 4

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -31 lines) Patch
M chrome/browser/password_manager/password_store.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_mac.cc View 1 2 chunks +39 lines, -19 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac_internal.h View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac_unittest.cc View 1 2 14 chunks +177 lines, -11 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
stuartmorgan
10 years, 5 months ago (2010-06-28 23:46:33 UTC) #1
TVL
lg http://codereview.chromium.org/2818035/diff/2001/3004 File chrome/browser/password_manager/password_store_mac_unittest.cc (right): http://codereview.chromium.org/2818035/diff/2001/3004#newcode35 chrome/browser/password_manager/password_store_mac_unittest.cc:35: ACTION(STLDeleteElements0) { should these go in a namespace ...
10 years, 5 months ago (2010-06-29 02:45:41 UTC) #2
Paweł Hajdan Jr.
Drive-by with a minor test comment. http://codereview.chromium.org/2818035/diff/2001/3004 File chrome/browser/password_manager/password_store_mac_unittest.cc (right): http://codereview.chromium.org/2818035/diff/2001/3004#newcode906 chrome/browser/password_manager/password_store_mac_unittest.cc:906: file_util::Delete(db_file_, false); Could ...
10 years, 5 months ago (2010-06-29 12:47:47 UTC) #3
stuartmorgan
http://codereview.chromium.org/2818035/diff/2001/3004 File chrome/browser/password_manager/password_store_mac_unittest.cc (right): http://codereview.chromium.org/2818035/diff/2001/3004#newcode35 chrome/browser/password_manager/password_store_mac_unittest.cc:35: ACTION(STLDeleteElements0) { On 2010/06/29 02:45:41, TVL wrote: > should ...
10 years, 5 months ago (2010-06-29 15:27:03 UTC) #4
Paweł Hajdan Jr.
10 years, 5 months ago (2010-06-29 15:41:03 UTC) #5
Code I commented in the drive-by LGTM.

Powered by Google App Engine
This is Rietveld 408576698