Index: chrome/browser/ui/webui/options/browser_options_handler.cc |
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc |
index faed6fb8d447f8b8889ff0404493f14421837a9d..bbd6a18ebe2ee3ab0c28b727af64f7ae8653c00b 100644 |
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc |
@@ -1218,11 +1218,10 @@ void BrowserOptionsHandler::InitializePage() { |
if (arc::IsArcAllowedForProfile(profile) && |
!arc::IsArcOptInVerificationDisabled()) { |
- base::FundamentalValue is_arc_enabled( |
+ base::FundamentalValue is_play_store_enabled( |
arc::ArcSessionManager::Get()->IsArcPlayStoreEnabled()); |
web_ui()->CallJavascriptFunctionUnsafe( |
- "BrowserOptions.showAndroidAppsSection", |
- is_arc_enabled); |
+ "BrowserOptions.showAndroidAppsSection", is_play_store_enabled); |
// Get the initial state of Android Settings app readiness. |
std::unique_ptr<ArcAppListPrefs::AppInfo> app_info = |
ArcAppListPrefs::Get(profile)->GetApp(arc::kSettingsAppId); |