Commit ae971339 authored by rhalavati@chromium.org's avatar rhalavati@chromium.org Committed by Commit Bot

Add switch to hide user data from incognito notifications.

A new feature switch is added to enable hiding user data from incognito
notifications.

Bug: 629887
Change-Id: Ia93a2f76d7460249c87b517696948670336ccb2d
Reviewed-on: https://chromium-review.googlesource.com/1196882
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Reviewed-by: default avatarMartin Šrámek <msramek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#587561}
parent aa63cf49
......@@ -219,6 +219,8 @@ public abstract class ChromeFeatureList {
public static final String GRANT_NOTIFICATIONS_TO_DSE = "GrantNotificationsToDSE";
public static final String GENERIC_SENSOR_EXTRA_CLASSES = "GenericSensorExtraClasses";
public static final String HANDLE_MEDIA_INTENTS = "HandleMediaIntents";
public static final String HIDE_USER_DATA_FROM_INCOGNITO_NOTIFICATIONS =
"HideUserDataFromIncognitoNotifications";
public static final String HOME_PAGE_BUTTON_FORCE_ENABLED = "HomePageButtonForceEnabled";
public static final String HOMEPAGE_TILE = "HomepageTile";
public static final String HORIZONTAL_TAB_SWITCHER_ANDROID = "HorizontalTabSwitcherAndroid";
......
......@@ -107,6 +107,7 @@ const base::Feature* kFeaturesExposedToJava[] = {
&kExploreSites,
&kFullscreenActivity,
&kHandleMediaIntents,
&kHideUserDataFromIncognitoNotifications,
&kHomePageButtonForceEnabled,
&kHomepageTile,
&kHorizontalTabSwitcherAndroid,
......@@ -299,6 +300,10 @@ const base::Feature kFullscreenActivity{"FullscreenActivity",
const base::Feature kHandleMediaIntents{"HandleMediaIntents",
base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kHideUserDataFromIncognitoNotifications{
"HideUserDataFromIncognitoNotifications",
base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kHomePageButtonForceEnabled{
"HomePageButtonForceEnabled", base::FEATURE_DISABLED_BY_DEFAULT};
......
......@@ -50,6 +50,7 @@ extern const base::Feature kDownloadHomeShowStorageInfo;
extern const base::Feature kExploreSites;
extern const base::Feature kFullscreenActivity;
extern const base::Feature kHandleMediaIntents;
extern const base::Feature kHideUserDataFromIncognitoNotifications;
extern const base::Feature kHomePageButtonForceEnabled;
extern const base::Feature kHomepageTile;
extern const base::Feature kHorizontalTabSwitcherAndroid;
......
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