We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 746093a commit 104b31aCopy full SHA for 104b31a
components/os_crypt/sync/os_crypt_win.cc
@@ -256,6 +256,9 @@ void OSCryptImpl::RegisterLocalPrefs(PrefRegistrySimple* registry) {
256
257
bool OSCryptImpl::Init(PrefService* local_state) {
258
// Try to pull the key from the local state.
259
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch("disable-encryption")) {
260
+ use_legacy_ = true;
261
+ }
262
switch (InitWithExistingKey(local_state)) {
263
case OSCrypt::kSuccess:
264
return true;
0 commit comments