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

Issue 2159743002: Forward --password-store switch to os_crypt (Closed)

Created:
4 years, 5 months ago by cfroussios
Modified:
4 years, 5 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Forward --password-store switch to os_crypt Password manager uses a switch to allow the user to override the auto-detection of the appropriate password store. OSCrypt should respect this switch as well. The switch value is read and passed to OSCrypt at a very early point in Chrome's start, before any of OSCrypt's dependents use it. I also reworked OSCrypt's build to make it simpler for chrome to deduce whether the linux implementation of OSCrypt will be used. - Previously, os_crypt_linux was used only if we also decided to link at least one linux backend. Otherwise we used os_crypt_posix. + Now, we always use the linux implementation for linux. If no KeyStorage is linked, the linux implementation defaults to the same behavior as for posix. This CL is a fixed version of https://codereview.chromium.org/2118443002/ BUG=602624 Committed: https://crrev.com/3ea4c69178fd68bcdc880bc2c83481e57e293403 Cr-Commit-Position: refs/heads/master@{#406056}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -15 lines) Patch
M chrome/browser/chrome_browser_main_linux.cc View 3 chunks +12 lines, -0 lines 0 comments Download
M components/components_tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M components/os_crypt.gypi View 2 chunks +2 lines, -2 lines 0 comments Download
M components/os_crypt/BUILD.gn View 3 chunks +3 lines, -3 lines 0 comments Download
M components/os_crypt/key_storage_linux.h View 1 chunk +4 lines, -2 lines 0 comments Download
M components/os_crypt/key_storage_linux.cc View 1 chunk +45 lines, -3 lines 0 comments Download
M components/os_crypt/os_crypt.h View 4 chunks +11 lines, -5 lines 0 comments Download
M components/os_crypt/os_crypt_linux.cc View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
cfroussios
Hi! I restarted with a clean CL. This should not be different from the the ...
4 years, 5 months ago (2016-07-18 14:05:58 UTC) #6
Lei Zhang
On 2016/07/18 14:05:58, cfroussios wrote: > Hi! I restarted with a clean CL. This should ...
4 years, 5 months ago (2016-07-18 19:06:44 UTC) #9
Lei Zhang
lgtm Looks like we just moved the OSCrypt::SetStore() call from ChromeBrowserMainPartsLinux::PostProfileInit() to ChromeBrowserMainPartsLinux::PreProfileInit().
4 years, 5 months ago (2016-07-18 19:08:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2159743002/1
4 years, 5 months ago (2016-07-18 19:09:44 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-18 19:15:28 UTC) #14
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-18 19:15:34 UTC) #15
commit-bot: I haz the power
4 years, 5 months ago (2016-07-18 19:17:18 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/3ea4c69178fd68bcdc880bc2c83481e57e293403
Cr-Commit-Position: refs/heads/master@{#406056}

Powered by Google App Engine
This is Rietveld 408576698