Commit 2aa8afec authored by Ramin Halavati's avatar Ramin Halavati Committed by Commit Bot

Remove Network Time preferences from incognito whitelist.

Preferences related to network time 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: I7a37a22be09e21942e608b1f407b1d27704fa8fd
Reviewed-on: https://chromium-review.googlesource.com/1172134Reviewed-by: default avatarNicolas Zea <zea@chromium.org>
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Cr-Commit-Position: refs/heads/master@{#583180}
parent bea348ed
......@@ -17,7 +17,6 @@
#include "components/invalidation/impl/invalidation_prefs.h"
#include "components/language/core/browser/pref_names.h"
#include "components/metrics/metrics_pref_names.h"
#include "components/network_time/network_time_pref_names.h"
#include "components/omnibox/browser/omnibox_pref_names.h"
#include "components/onc/onc_pref_names.h"
#include "components/proxy_config/proxy_config_pref_names.h"
......@@ -776,10 +775,6 @@ const char* const kTemporaryIncognitoWhitelist[] = {
// components/language/core/browser/pref_names.h
language::prefs::kApplicationLocale, language::prefs::kUserLanguageProfile,
// components/network_time/network_time_pref_names.h
network_time::prefs::kNetworkTimeMapping,
network_time::prefs::kNetworkTimeQueriesEnabled,
// components/omnibox/browser/omnibox_pref_names.h
omnibox::kZeroSuggestCachedResults,
......
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