Commit bdca4eb1 authored by Ramin Halavati's avatar Ramin Halavati Committed by Commit Bot

Remove CryptAuth preferences from incognito whitelist.

Preferences related to CryptAuth are removed from the persistent storage
list for incognito mode.
After this CL, if these preferences are changed from incognito mode,
they are only stored in memory and won't affect user profile.

Bug: 861722
Change-Id: I390bd032a255db1141430a1ab1a791d01227145d
Reviewed-on: https://chromium-review.googlesource.com/1159366Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Cr-Commit-Position: refs/heads/master@{#581131}
parent 522ff58c
...@@ -49,7 +49,6 @@ ...@@ -49,7 +49,6 @@
#include "ash/public/cpp/ash_pref_names.h" #include "ash/public/cpp/ash_pref_names.h"
#include "chrome/browser/chromeos/crostini/crostini_pref_names.h" #include "chrome/browser/chromeos/crostini/crostini_pref_names.h"
#include "chromeos/chromeos_pref_names.h" #include "chromeos/chromeos_pref_names.h"
#include "components/cryptauth/pref_names.h"
#include "components/drive/drive_pref_names.h" #include "components/drive/drive_pref_names.h"
#include "ui/base/ime/chromeos/extension_ime_util.h" #include "ui/base/ime/chromeos/extension_ime_util.h"
#include "ui/chromeos/events/pref_names.h" #include "ui/chromeos/events/pref_names.h"
...@@ -630,8 +629,8 @@ const char* temporary_incognito_whitelist[] = { ...@@ -630,8 +629,8 @@ const char* temporary_incognito_whitelist[] = {
prefs::kQuickCheckEnabled, prefs::kPacHttpsUrlStrippingEnabled, prefs::kQuickCheckEnabled, prefs::kPacHttpsUrlStrippingEnabled,
prefs::kBrowserGuestModeEnabled, prefs::kBrowserAddPersonEnabled, prefs::kBrowserGuestModeEnabled, prefs::kBrowserAddPersonEnabled,
prefs::kCryptAuthDeviceId, prefs::kEasyUnlockHardlockState, prefs::kEasyUnlockHardlockState, prefs::kEasyUnlockLocalStateTpmKeys,
prefs::kEasyUnlockLocalStateTpmKeys, prefs::kEasyUnlockLocalStateUserPrefs, prefs::kEasyUnlockLocalStateUserPrefs,
prefs::kRecoveryComponentNeedsElevation, prefs::kRecoveryComponentNeedsElevation,
#if BUILDFLAG(ENABLE_BACKGROUND_MODE) #if BUILDFLAG(ENABLE_BACKGROUND_MODE)
...@@ -763,20 +762,6 @@ const char* temporary_incognito_whitelist[] = { ...@@ -763,20 +762,6 @@ const char* temporary_incognito_whitelist[] = {
// components/consent_auditor/pref_names.h // components/consent_auditor/pref_names.h
consent_auditor::prefs::kLocalConsentsDictionary, consent_auditor::prefs::kLocalConsentsDictionary,
// components/cryptauth/pref_names.h
#if defined(CHROMEOS)
cryptauth::prefs::kCryptAuthDeviceSyncLastSyncTimeSeconds,
cryptauth::prefs::kCryptAuthDeviceSyncIsRecoveringFromFailure,
cryptauth::prefs::kCryptAuthDeviceSyncReason,
cryptauth::prefs::kCryptAuthDeviceSyncUnlockKeys,
cryptauth::prefs::kCryptAuthEnrollmentIsRecoveringFromFailure,
cryptauth::prefs::kCryptAuthEnrollmentLastEnrollmentTimeSeconds,
cryptauth::prefs::kCryptAuthEnrollmentReason,
cryptauth::prefs::kCryptAuthEnrollmentUserPublicKey,
cryptauth::prefs::kCryptAuthEnrollmentUserPrivateKey,
cryptauth::prefs::kCryptAuthGCMRegistrationId,
#endif // defined(CHROMEOS)
// components/dom_distiller/core/pref_names.h // components/dom_distiller/core/pref_names.h
dom_distiller::prefs::kFont, dom_distiller::prefs::kTheme, dom_distiller::prefs::kFont, dom_distiller::prefs::kTheme,
dom_distiller::prefs::kFontScale, dom_distiller::prefs::kFontScale,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment