Index: chrome/common/pref_names.cc |
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc |
index 442529f9873b020b119bcbf2f0537a6ae4d5df17..6a1b897ead62c803411ac16d708a5ec163b0096c 100644 |
--- a/chrome/common/pref_names.cc |
+++ b/chrome/common/pref_names.cc |
@@ -374,7 +374,7 @@ const char kIncognitoModeAvailability[] = "incognito.mode_availability"; |
// Boolean that is true when Suggest support is enabled. |
const char kSearchSuggestEnabled[] = "search.suggest_enabled"; |
-#if defined(OS_ANDROID) |
+#if defined(ANDROID_JAVA_UI) |
// String indicating the Contextual Search enabled state. |
// "false" - opt-out (disabled) |
// "" (empty string) - undecided |
@@ -1001,7 +1001,7 @@ const char kAutofillDialogWalletShippingSameAsBilling[] = |
const char kAutofillGeneratedCardBubbleTimesShown[] = |
"autofill.generated_card_bubble_times_shown"; |
-#if defined(OS_ANDROID) |
+#if defined(ANDROID_JAVA_UI) |
// A dictionary that tracks the defaults to be set on the next invocation |
// of the requestAutocomplete dialog. |
const char kAutofillDialogDefaults[] = "autofill.rac_dialog_defaults"; |
@@ -1266,7 +1266,7 @@ const char kStabilityKernelCrashCount[] = |
const char kStabilitySystemUncleanShutdownCount[] = |
"user_experience_metrics.stability.system_unclean_shutdowns"; |
-#if defined(OS_ANDROID) |
+#if defined(ANDROID_JAVA_UI) |
// Activity type that is currently in the foreground for the UMA session. |
// Uses the ActivityTypeIds::Type enum. |
const char kStabilityForegroundActivityType[] = |
@@ -1426,7 +1426,7 @@ const char kDisablePluginFinder[] = "plugins.disable_plugin_finder"; |
// Customized app page names that appear on the New Tab Page. |
const char kNtpAppPageNames[] = "ntp.app_page_names"; |
-#if defined(OS_ANDROID) |
+#if defined(ANDROID_JAVA_UI) |
// Keeps track of currently open tabs collapsed state in the Other Devices menu. |
const char kNtpCollapsedCurrentlyOpenTabs[] = "ntp.collapsed_open_tabs"; |
#endif |
@@ -1434,7 +1434,7 @@ const char kNtpCollapsedCurrentlyOpenTabs[] = "ntp.collapsed_open_tabs"; |
// Keeps track of which sessions are collapsed in the Other Devices menu. |
const char kNtpCollapsedForeignSessions[] = "ntp.collapsed_foreign_sessions"; |
-#if defined(OS_ANDROID) |
+#if defined(ANDROID_JAVA_UI) |
// Keeps track of recently closed tabs collapsed state in the Other Devices |
// menu. |
const char kNtpCollapsedRecentlyClosedTabs[] = |
@@ -1450,7 +1450,7 @@ const char kNtpCollapsedSyncPromo[] = "ntp.collapsed_sync_promo"; |
// Which page should be visible on the new tab page v4 |
const char kNtpShownPage[] = "ntp.shown_page"; |
-#if defined(OS_ANDROID) |
+#if defined(ANDROID_JAVA_UI) |
// Ordered list of website suggestions shown on the new tab page that will allow |
// retaining the order even if the suggestions change over time. |
const char kNTPSuggestionsURL[] = "ntp.suggestions_url"; |
@@ -1552,7 +1552,7 @@ const char kWebAppCreateInQuickLaunchBar[] = |
// corresponding access token. |
const char kGeolocationAccessToken[] = "geolocation.access_token"; |
-#if defined(OS_ANDROID) |
+#if defined(ANDROID_JAVA_UI) |
// Boolean that controls the enabled-state of Geolocation in content. |
const char kGeolocationEnabled[] = "geolocation.enabled"; |
#endif |
@@ -2122,7 +2122,7 @@ const char kEnableDRM[] = "settings.privacy.drm_enabled"; |
const char kWatchdogExtensionActive[] = |
"profile.extensions.activity_log.num_consumers_active"; |
-#if defined(OS_ANDROID) |
+#if defined(ANDROID_JAVA_UI) |
// A list of partner bookmark rename/remove mappings. |
// Each list item is a dictionary containing a "url", a "provider_title" and |
// "mapped_title" entries, detailing the bookmark target URL (if any), the title |