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

Remove ChromeOS Proximity Auth preferences from incognito whitelist.

Preferences related to ChromeOS Proximity Auth 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: Id9247d7ba200705786327aeab7f251a77de0435f
Reviewed-on: https://chromium-review.googlesource.com/1158067
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Reviewed-by: default avatarRyan Hansberry <hansberry@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579757}
parent 859d89c4
...@@ -51,7 +51,6 @@ ...@@ -51,7 +51,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 "chromeos/components/proximity_auth/proximity_auth_pref_names.h"
#include "components/arc/arc_prefs.h" #include "components/arc/arc_prefs.h"
#include "components/cryptauth/pref_names.h" #include "components/cryptauth/pref_names.h"
#include "components/drive/drive_pref_names.h" #include "components/drive/drive_pref_names.h"
...@@ -698,17 +697,6 @@ const char* incognito_whitelist[] = { ...@@ -698,17 +697,6 @@ const char* incognito_whitelist[] = {
chromeos::prefs::kQuirksClientLastServerCheck, chromeos::prefs::kQuirksClientLastServerCheck,
#endif // defined(OS_CHROMEOS) #endif // defined(OS_CHROMEOS)
// chromeos/components/proximity_auth/proximity_auth_pref_names.h
#if defined(OS_CHROMEOS)
proximity_auth::prefs::kEasyUnlockEnabled,
proximity_auth::prefs::kEasyUnlockEnabledStateSet,
proximity_auth::prefs::kEasyUnlockProximityThreshold,
proximity_auth::prefs::kProximityAuthLastPromotionCheckTimestampMs,
proximity_auth::prefs::kProximityAuthPromotionShownCount,
proximity_auth::prefs::kProximityAuthRemoteBleDevices,
proximity_auth::prefs::kProximityAuthIsChromeOSLoginEnabled,
#endif // defined(OS_CHROMEOS)
// components/arc/arc_prefs.h // components/arc/arc_prefs.h
#if defined(OS_CHROMEOS) #if defined(OS_CHROMEOS)
arc::prefs::kArcActiveDirectoryPlayUserId, arc::prefs::kArcApps, arc::prefs::kArcActiveDirectoryPlayUserId, arc::prefs::kArcApps,
......
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