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

Issue 1213043003: Start the migration of passwords from the Keychain. (Closed)

Created:
5 years, 5 months ago by vasilii
Modified:
5 years, 5 months ago
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlist_chromium.org, asvitkine+watch_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Start the migration of passwords from the Keychain. Design doc: https://docs.google.com/a/google.com/document/d/1A8ZG16bLuUH1u21K0GoABKz_wpz1kchXMnMlpmq_ecA/edit?usp=sharing BUG=466638 Committed: https://crrev.com/b312da5608ac316b7e49459c906b5a5d72332776 Cr-Commit-Position: refs/heads/master@{#337842}

Patch Set 1 #

Total comments: 18

Patch Set 2 : vabr@ comments #

Patch Set 3 : fix the tests #

Total comments: 16

Patch Set 4 : vabr@ comments #

Total comments: 18

Patch Set 5 : move the enum #

Total comments: 14

Patch Set 6 : comments #

Patch Set 7 : added a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+377 lines, -93 lines) Patch
M chrome/browser/password_manager/password_store_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_mac.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac_unittest.cc View 1 2 3 4 5 chunks +16 lines, -46 lines 0 comments Download
M chrome/browser/password_manager/password_store_proxy_mac.h View 1 2 3 4 4 chunks +26 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/password_store_proxy_mac.cc View 1 2 3 4 5 3 chunks +84 lines, -12 lines 0 comments Download
M chrome/browser/password_manager/password_store_proxy_mac_unittest.cc View 1 2 3 4 5 11 chunks +149 lines, -14 lines 0 comments Download
M chrome/browser/password_manager/simple_password_store_mac.h View 1 2 3 4 5 6 2 chunks +10 lines, -6 lines 0 comments Download
M chrome/browser/password_manager/simple_password_store_mac.cc View 1 2 3 4 1 chunk +14 lines, -7 lines 0 comments Download
M chrome/browser/password_manager/simple_password_store_mac_unittest.cc View 1 chunk +6 lines, -3 lines 0 comments Download
M components/password_manager.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/password_manager/core/browser/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A components/password_manager/core/browser/keychain_migration_status_mac.h View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_manager.cc View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_store_default.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/password_manager/core/common/password_manager_pref_names.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M components/password_manager/core/common/password_manager_pref_names.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (5 generated)
vasilii
Hi guys, please review the CL.
5 years, 5 months ago (2015-07-02 19:54:04 UTC) #2
vabr (Chromium)
Hi Vasilii, This LGTM with some minor comments. Having said that, this seems risky enough ...
5 years, 5 months ago (2015-07-03 08:40:48 UTC) #4
vasilii
Hi Vaclav, Thank you for the quick review. Regarding Finch. I'm reluctant to hide the ...
5 years, 5 months ago (2015-07-03 12:59:11 UTC) #5
vabr (Chromium)
On 2015/07/03 12:59:11, vasilii wrote: > Hi Vaclav, > > Thank you for the quick ...
5 years, 5 months ago (2015-07-03 13:14:14 UTC) #6
vasilii
The bots are green. Please review.
5 years, 5 months ago (2015-07-06 08:29:03 UTC) #7
vabr (Chromium)
Hi Vasilii, LGTM + mostly nits. Thanks, Vaclav https://codereview.chromium.org/1213043003/diff/1/chrome/browser/password_manager/password_store_mac.cc File chrome/browser/password_manager/password_store_mac.cc (left): https://codereview.chromium.org/1213043003/diff/1/chrome/browser/password_manager/password_store_mac.cc#oldcode963 chrome/browser/password_manager/password_store_mac.cc:963: DCHECK_CURRENTLY_ON(content::BrowserThread::UI); ...
5 years, 5 months ago (2015-07-06 09:50:20 UTC) #8
vasilii
https://codereview.chromium.org/1213043003/diff/1/chrome/browser/password_manager/simple_password_store_mac.h File chrome/browser/password_manager/simple_password_store_mac.h (right): https://codereview.chromium.org/1213043003/diff/1/chrome/browser/password_manager/simple_password_store_mac.h#newcode34 chrome/browser/password_manager/simple_password_store_mac.h:34: using PasswordStoreDefault::Init; On 2015/07/06 09:50:19, vabr (Chromium) wrote: > ...
5 years, 5 months ago (2015-07-06 13:57:58 UTC) #9
Garrett Casto
https://codereview.chromium.org/1213043003/diff/60001/chrome/browser/password_manager/password_store_proxy_mac.cc File chrome/browser/password_manager/password_store_proxy_mac.cc (right): https://codereview.chromium.org/1213043003/diff/60001/chrome/browser/password_manager/password_store_proxy_mac.cc#newcode62 chrome/browser/password_manager/password_store_proxy_mac.cc:62: thread_->Stop(); Stop should be called after GetBackend()->Shutdown(), or part ...
5 years, 5 months ago (2015-07-06 21:38:54 UTC) #10
Ilya Sherman
I'm assuming you just wanted me to review the histograms code? https://codereview.chromium.org/1213043003/diff/60001/components/password_manager/core/common/password_manager_pref_names.h File components/password_manager/core/common/password_manager_pref_names.h (right): ...
5 years, 5 months ago (2015-07-07 02:48:22 UTC) #11
Ilya Sherman
https://codereview.chromium.org/1213043003/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1213043003/diff/60001/tools/metrics/histograms/histograms.xml#newcode58785 tools/metrics/histograms/histograms.xml:58785: + <int value="3" label="Migration failed twice."/> Optional nit: I'd ...
5 years, 5 months ago (2015-07-07 02:49:04 UTC) #12
vabr (Chromium)
Thanks, Vasilii. LGTM, I have no more comments, but please do not land before clarifying ...
5 years, 5 months ago (2015-07-07 14:18:59 UTC) #13
vasilii
Ilya, I need an approval for histograms. Optionally you can review everything. https://codereview.chromium.org/1213043003/diff/60001/chrome/browser/password_manager/password_store_proxy_mac.cc File chrome/browser/password_manager/password_store_proxy_mac.cc ...
5 years, 5 months ago (2015-07-07 15:45:54 UTC) #14
stuartmorgan
https://codereview.chromium.org/1213043003/diff/80001/chrome/browser/password_manager/password_store_proxy_mac.cc File chrome/browser/password_manager/password_store_proxy_mac.cc (right): https://codereview.chromium.org/1213043003/diff/80001/chrome/browser/password_manager/password_store_proxy_mac.cc#newcode110 chrome/browser/password_manager/password_store_proxy_mac.cc:110: password_store_simple_ = new SimplePasswordStoreMac( Just to be safe (since ...
5 years, 5 months ago (2015-07-07 17:40:26 UTC) #15
Ilya Sherman
Thanks. Histograms lgtm % a final nit: https://codereview.chromium.org/1213043003/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1213043003/diff/80001/tools/metrics/histograms/histograms.xml#newcode27958 tools/metrics/histograms/histograms.xml:27958: + startup. ...
5 years, 5 months ago (2015-07-07 22:15:45 UTC) #16
Garrett Casto
lgtm https://codereview.chromium.org/1213043003/diff/60001/chrome/browser/password_manager/password_store_proxy_mac.cc File chrome/browser/password_manager/password_store_proxy_mac.cc (right): https://codereview.chromium.org/1213043003/diff/60001/chrome/browser/password_manager/password_store_proxy_mac.cc#newcode62 chrome/browser/password_manager/password_store_proxy_mac.cc:62: thread_->Stop(); On 2015/07/07 15:45:54, vasilii wrote: > On ...
5 years, 5 months ago (2015-07-07 22:22:26 UTC) #17
vasilii
https://codereview.chromium.org/1213043003/diff/60001/chrome/browser/password_manager/password_store_proxy_mac.cc File chrome/browser/password_manager/password_store_proxy_mac.cc (right): https://codereview.chromium.org/1213043003/diff/60001/chrome/browser/password_manager/password_store_proxy_mac.cc#newcode62 chrome/browser/password_manager/password_store_proxy_mac.cc:62: thread_->Stop(); On 2015/07/07 22:22:26, Garrett Casto wrote: > On ...
5 years, 5 months ago (2015-07-08 09:56:59 UTC) #18
stuartmorgan
LGTM with nit https://codereview.chromium.org/1213043003/diff/80001/chrome/browser/password_manager/password_store_proxy_mac.cc File chrome/browser/password_manager/password_store_proxy_mac.cc (right): https://codereview.chromium.org/1213043003/diff/80001/chrome/browser/password_manager/password_store_proxy_mac.cc#newcode119 chrome/browser/password_manager/password_store_proxy_mac.cc:119: base::Bind(&PasswordStoreProxyMac::UpdateStatusPref, this, status)); On 2015/07/08 09:56:58, ...
5 years, 5 months ago (2015-07-08 14:18:40 UTC) #20
vasilii
https://codereview.chromium.org/1213043003/diff/80001/chrome/browser/password_manager/password_store_proxy_mac.cc File chrome/browser/password_manager/password_store_proxy_mac.cc (right): https://codereview.chromium.org/1213043003/diff/80001/chrome/browser/password_manager/password_store_proxy_mac.cc#newcode119 chrome/browser/password_manager/password_store_proxy_mac.cc:119: base::Bind(&PasswordStoreProxyMac::UpdateStatusPref, this, status)); On 2015/07/08 14:18:40, stuartmorgan wrote: > ...
5 years, 5 months ago (2015-07-08 15:45:55 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1213043003/140001
5 years, 5 months ago (2015-07-08 15:46:35 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:140001)
5 years, 5 months ago (2015-07-08 16:54:48 UTC) #25
commit-bot: I haz the power
5 years, 5 months ago (2015-07-08 16:55:44 UTC) #26
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b312da5608ac316b7e49459c906b5a5d72332776
Cr-Commit-Position: refs/heads/master@{#337842}

Powered by Google App Engine
This is Rietveld 408576698