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

Unified Diff: chrome/browser/ui/ash/launcher/launcher_controller_helper.cc

Issue 2642783003: Move more utility functions to arc_util. (Closed)
Patch Set: Revert IsIntentHelperAvailable fix. Created 3 years, 11 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/ash/launcher/launcher_controller_helper.cc
diff --git a/chrome/browser/ui/ash/launcher/launcher_controller_helper.cc b/chrome/browser/ui/ash/launcher/launcher_controller_helper.cc
index 6efa7f3d8fa7e0b414b0634e1bda91b54c720dd3..a620abed81609be9d25a33ae68347f001032c278 100644
--- a/chrome/browser/ui/ash/launcher/launcher_controller_helper.cc
+++ b/chrome/browser/ui/ash/launcher/launcher_controller_helper.cc
@@ -8,7 +8,9 @@
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/browser_process.h"
+#include "chrome/browser/chromeos/arc/arc_session_manager.h"
#include "chrome/browser/chromeos/arc/arc_support_host.h"
+#include "chrome/browser/chromeos/arc/arc_util.h"
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/extensions/extension_util.h"
#include "chrome/browser/extensions/launch_util.h"
@@ -152,7 +154,7 @@ bool LauncherControllerHelper::IsValidIDForCurrentUser(
if (!GetExtensionByID(profile_, id))
return false;
if (id == ArcSupportHost::kHostAppId) {
- if (!arc::ArcSessionManager::IsAllowedForProfile(profile()))
+ if (!arc::util::IsArcAllowedForProfile(profile()))
return false;
const arc::ArcSessionManager* arc_session_manager =
arc::ArcSessionManager::Get();

Powered by Google App Engine
This is Rietveld 408576698