Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

Issue 2707133006: Start ARC and sign in after Chrome OS login (Closed)
Patch Set: rebase then add test; NOTREACHED -> DCHECK Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 e5810693ffdd89a457e3e79182ec3316126610a5..977e0f9908b88bd6a29b024f7f2113bb8fac0161 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -1217,10 +1217,10 @@ void BrowserOptionsHandler::InitializePage() {
if (arc::IsArcAllowedForProfile(profile) &&
!arc::IsArcOptInVerificationDisabled()) {
- base::Value is_arc_enabled(arc::IsArcPlayStoreEnabledForProfile(profile));
+ base::Value is_play_store_enabled(
+ arc::IsArcPlayStoreEnabledForProfile(profile));
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);

Powered by Google App Engine
This is Rietveld 408576698