Index: chrome/common/pref_names.cc |
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc |
index 830a6976ddc5fc27382d5c13220f7c5d73372dde..5796894887c3aeb1e55d807fcf83bed17318b106 100644 |
--- a/chrome/common/pref_names.cc |
+++ b/chrome/common/pref_names.cc |
@@ -912,10 +912,8 @@ const char kPluginsEnabledPlugins[] = "plugins.plugins_enabled"; |
const char kNpapiFlashMigratedToPepperFlash[] = |
"plugins.npapi_flash_migrated_to_pepper_flash"; |
-#if !defined(OS_ANDROID) |
// Whether about:plugins is shown in the details mode or not. |
const char kPluginsShowDetails[] = "plugins.show_details"; |
-#endif |
// Boolean that indicates whether outdated plugins are allowed or not. |
const char kPluginsAllowOutdated[] = "plugins.allow_outdated"; |
@@ -953,11 +951,9 @@ const char kShowUpdatePromotionInfoBar[] = |
// true, we draw a custom chrome frame (thicker title bar and blue border). |
const char kUseCustomChromeFrame[] = "browser.custom_chrome_frame"; |
-#if !defined(OS_ANDROID) |
// Which plugins have been whitelisted manually by the user. |
const char kContentSettingsPluginWhitelist[] = |
"profile.content_settings.plugin_whitelist"; |
-#endif |
// Boolean that is true when all locally stored site data (e.g. cookies, local |
// storage, etc..) should be deleted on exit. |
@@ -1007,9 +1003,7 @@ const char kAutofillGeneratedCardBubbleTimesShown[] = |
const char kAutofillDialogDefaults[] = "autofill.rac_dialog_defaults"; |
#endif |
-#if !defined(OS_ANDROID) |
const char kPinnedTabs[] = "pinned_tabs"; |
-#endif |
// Preference to disable 3D APIs (WebGL, Pepper 3D). |
const char kDisable3DAPIs[] = "disable_3d_apis"; |
@@ -1182,7 +1176,7 @@ const char kEasyUnlockPairing[] = "easy_unlock.pairing"; |
// in order to use Easy Unlock. |
const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required"; |
-#if defined(ENABLE_EXTENSIONS) && !defined(OS_ANDROID) && !defined(OS_IOS) |
+#if defined(ENABLE_EXTENSIONS) && !defined(OS_IOS) |
// These device IDs are used by the copresence component, to uniquely identify |
// this device to the server. For privacy, authenticated and unauthenticated |
// calls are made using different device IDs. |
@@ -1567,7 +1561,7 @@ const char kInvalidationServiceUseGCMChannel[] = |
// when on-line authentication is not available. |
const char kGoogleServicesPasswordHash[] = "google.services.password_hash"; |
-#if !defined(OS_ANDROID) && !defined(OS_IOS) |
+#if !defined(OS_IOS) |
// Tracks the number of times that we have shown the sign in promo at startup. |
const char kSignInPromoStartupCount[] = "sync_promo.startup_count"; |
@@ -1585,7 +1579,7 @@ const char kSignInPromoShowOnFirstRunAllowed[] = |
const char kSignInPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble"; |
#endif |
-#if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) && !defined(OS_IOS) |
+#if (!defined(OS_CHROMEOS) && !defined(OS_ANDROID) && !defined(OS_IOS)) || (defined(OS_ANDROID) && defined(USE_AURA)) |
// Boolean tracking whether the user chose to opt out of the x-device promo. |
const char kCrossDevicePromoOptedOut[] = "x_device_promo.opted_out"; |