| Index: chrome/common/pref_names.cc
|
| diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
|
| index 442529f9873b020b119bcbf2f0537a6ae4d5df17..04cf6c41fa80a141f0477e406d83af588f4164bb 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
|
| @@ -1007,7 +1007,7 @@ const char kAutofillGeneratedCardBubbleTimesShown[] =
|
| const char kAutofillDialogDefaults[] = "autofill.rac_dialog_defaults";
|
| #endif
|
|
|
| -#if !defined(OS_ANDROID)
|
| +#if !defined(ANDROID_JAVA_UI)
|
| const char kPinnedTabs[] = "pinned_tabs";
|
| #endif
|
|
|
| @@ -1178,7 +1178,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(ANDROID_JAVA_UI) && !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.
|
| @@ -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[] =
|
| @@ -1499,7 +1499,7 @@ const char kDevToolsRemoteEnabled[] = "devtools.remote_enabled";
|
| // when on-line authentication is not available.
|
| const char kGoogleServicesPasswordHash[] = "google.services.password_hash";
|
|
|
| -#if !defined(OS_ANDROID) && !defined(OS_IOS)
|
| +#if !defined(ANDROID_JAVA_UI) && !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";
|
|
|
| @@ -1517,7 +1517,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(ANDROID_JAVA_UI) && !defined(OS_IOS)
|
| // Boolean tracking whether the user chose to opt out of the x-device promo.
|
| const char kCrossDevicePromoOptedOut[] = "x_device_promo.opted_out";
|
|
|
| @@ -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
|
|
|