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

Issue 2118443002: Forward password-store switch to OSCrypt component (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 OSCrypt component 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. BUG=602624 Committed: https://crrev.com/92699e345c15243c4023a8739101333ed2658e37 Cr-Commit-Position: refs/heads/master@{#405114}

Patch Set 1 #

Patch Set 2 : flag #

Patch Set 3 : Removed unnecessary condition #

Patch Set 4 : fixed build? #

Patch Set 5 : try this #

Patch Set 6 : Try this #

Patch Set 7 : Try this #

Patch Set 8 : Try this #

Total comments: 6

Patch Set 9 : nogncheck #

Patch Set 10 : include KeyStorageLibsecret conditionally #

Patch Set 11 : also gyp #

Total comments: 6

Patch Set 12 : feedback #

Patch Set 13 : build cleanup #

Patch Set 14 : Verify that target does not change after lazy initialization #

Total comments: 6

Patch Set 15 : feedback #

Patch Set 16 : Init in PreProfileInit() #

Patch Set 17 : Fixed order of calling superclass method #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -7 lines) Patch
M chrome/browser/chrome_browser_main_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +7 lines, -7 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 35 (21 generated)
cfroussios
grt@chromium.org: Please review changes in chrome/app thestig@chromium.org: Please review changes in components/os_crypt
4 years, 5 months ago (2016-07-05 15:00:24 UTC) #7
Lei Zhang
Can we resolve https://codereview.chromium.org/2117323002/ first? https://codereview.chromium.org/2118443002/diff/170001/chrome/app/chrome_main_delegate.cc File chrome/app/chrome_main_delegate.cc (right): https://codereview.chromium.org/2118443002/diff/170001/chrome/app/chrome_main_delegate.cc#newcode127 chrome/app/chrome_main_delegate.cc:127: // Linux allows to ...
4 years, 5 months ago (2016-07-06 18:57:28 UTC) #8
cfroussios
The other issue is moving rather slowly. The solution I proposed there is also implemented ...
4 years, 5 months ago (2016-07-11 08:32:00 UTC) #9
Lei Zhang
https://codereview.chromium.org/2118443002/diff/170001/components/os_crypt/key_storage_linux.h File components/os_crypt/key_storage_linux.h (right): https://codereview.chromium.org/2118443002/diff/170001/components/os_crypt/key_storage_linux.h#newcode36 components/os_crypt/key_storage_linux.h:36: static const char* s_store_; On 2016/07/11 08:32:00, cfroussios wrote: ...
4 years, 5 months ago (2016-07-12 02:02:53 UTC) #10
cfroussios
I'm removing grt@ from the reviewers, since we're not editing chrome/apps anymore. https://codereview.chromium.org/2118443002/diff/170001/components/os_crypt/key_storage_linux.h File components/os_crypt/key_storage_linux.h ...
4 years, 5 months ago (2016-07-12 15:25:35 UTC) #11
Lei Zhang
lgtm, the rest is all nits. https://codereview.chromium.org/2118443002/diff/290001/components/components_tests.gyp File components/components_tests.gyp (right): https://codereview.chromium.org/2118443002/diff/290001/components/components_tests.gyp#newcode1599 components/components_tests.gyp:1599: 'USE_KWALLET', nit: alphabetical ...
4 years, 5 months ago (2016-07-12 19:12:24 UTC) #13
cfroussios
https://codereview.chromium.org/2118443002/diff/290001/components/components_tests.gyp File components/components_tests.gyp (right): https://codereview.chromium.org/2118443002/diff/290001/components/components_tests.gyp#newcode1599 components/components_tests.gyp:1599: 'USE_KWALLET', On 2016/07/12 19:12:24, Lei Zhang wrote: > nit: ...
4 years, 5 months ago (2016-07-13 09:33:11 UTC) #14
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/2118443002/310001
4 years, 5 months ago (2016-07-13 09:34:40 UTC) #17
commit-bot: I haz the power
Committed patchset #15 (id:310001)
4 years, 5 months ago (2016-07-13 10:38:26 UTC) #19
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 10:38:33 UTC) #20
commit-bot: I haz the power
Patchset 15 (id:??) landed as https://crrev.com/92699e345c15243c4023a8739101333ed2658e37 Cr-Commit-Position: refs/heads/master@{#405114}
4 years, 5 months ago (2016-07-13 10:39:45 UTC) #22
cfroussios
A revert of this CL (patchset #15 id:310001) has been created in https://codereview.chromium.org/2152493002/ by cfroussios@chromium.org. ...
4 years, 5 months ago (2016-07-13 16:53:49 UTC) #23
cfroussios
I did a closer inspection, and the creation of the profile does indeed use decryption. ...
4 years, 5 months ago (2016-07-15 14:20:28 UTC) #30
Lei Zhang
4 years, 5 months ago (2016-07-15 18:07:42 UTC) #35
Depends on Patchset:

Issue 2118443002 Patch 310001

Uh, this is getting weird. Patch set 17 depends on patch set 15? This is why I
like to use a new CL for a fresh start. (Though not everyone agrees)

Powered by Google App Engine
This is Rietveld 408576698