Commit 1620e033 authored by Ramin Halavati's avatar Ramin Halavati Committed by Commit Bot

Remove ChromeOS Tethering preferences from incognito whitelist.

Preferences related to ChromeOS Thethering 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: I3faa7ad982ace7347a894f3f3225332d0a437ed0
Reviewed-on: https://chromium-review.googlesource.com/1158068Reviewed-by: default avatarRyan Hansberry <hansberry@chromium.org>
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579740}
parent 03d7e78c
......@@ -52,7 +52,6 @@
#include "chrome/browser/chromeos/crostini/crostini_pref_names.h"
#include "chromeos/chromeos_pref_names.h"
#include "chromeos/components/proximity_auth/proximity_auth_pref_names.h"
#include "chromeos/components/tether/pref_names.h"
#include "components/arc/arc_prefs.h"
#include "components/cryptauth/pref_names.h"
#include "components/drive/drive_pref_names.h"
......@@ -209,8 +208,6 @@ const char* incognito_whitelist[] = {
prefs::kQuickUnlockModeWhitelist, prefs::kQuickUnlockTimeout,
prefs::kPinUnlockMinimumLength, prefs::kPinUnlockMaximumLength,
prefs::kPinUnlockWeakPinsAllowed, prefs::kEnableQuickUnlockFingerprint,
prefs::kInstantTetheringAllowed, prefs::kInstantTetheringEnabled,
prefs::kInstantTetheringBleAdvertisingSupported,
prefs::kCastReceiverEnabled, prefs::kMinimumAllowedChromeVersion,
prefs::kShowSyncSettingsOnSessionStart, prefs::kTextToSpeechLangToVoiceName,
prefs::kTextToSpeechRate, prefs::kTextToSpeechPitch,
......@@ -712,18 +709,6 @@ const char* incognito_whitelist[] = {
proximity_auth::prefs::kProximityAuthIsChromeOSLoginEnabled,
#endif // defined(OS_CHROMEOS)
// chromeos/components/tether/pref_names.h
#if defined(OS_CHROMEOS)
chromeos::tether::prefs::kMostRecentTetherAvailablilityResponderIds,
chromeos::tether::prefs::kMostRecentConnectTetheringResponderIds,
chromeos::tether::prefs::kActiveHostStatus,
chromeos::tether::prefs::kActiveHostDeviceId,
chromeos::tether::prefs::kTetherNetworkGuid,
chromeos::tether::prefs::kWifiNetworkGuid,
chromeos::tether::prefs::kDisconnectingWifiNetworkPath,
chromeos::tether::prefs::kHostScanCache,
#endif // defined(OS_CHROMEOS)
// components/arc/arc_prefs.h
#if defined(OS_CHROMEOS)
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