Commit 699e98d1 authored by Ramin Halavati's avatar Ramin Halavati Committed by Commit Bot

Remove Unified Consent preferences from incognito whitelist.

Preferences related to unified consent 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: I733657f359b34369fcef0559660cd14c74bfb181
Reviewed-on: https://chromium-review.googlesource.com/1172131Reviewed-by: default avatarThomas Tangl <tangltom@chromium.org>
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582573}
parent cc4cd897
......@@ -28,7 +28,6 @@
#include "components/startup_metric_utils/browser/pref_names.h"
#include "components/suggestions/suggestions_pref_names.h"
#include "components/ukm/ukm_pref_names.h"
#include "components/unified_consent/pref_names.h"
#include "components/variations/pref_names.h"
#include "components/web_resource/web_resource_pref_names.h"
#include "services/preferences/public/cpp/tracked/pref_names.h"
......@@ -821,11 +820,6 @@ const char* temporary_incognito_whitelist[] = {
suggestions::prefs::kSuggestionsBlacklist,
suggestions::prefs::kSuggestionsData,
// components/unified_consent/pref_names.h
unified_consent::prefs::kUnifiedConsentGiven,
unified_consent::prefs::kUnifiedConsentMigrationState,
unified_consent::prefs::kUrlKeyedAnonymizedDataCollectionEnabled,
// components/web_resource/web_resource_pref_names.h
prefs::kEulaAccepted,
......
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