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

Unified Diff: chrome/browser/ui/app_list/search/app_search_provider.cc

Issue 2642783003: Move more utility functions to arc_util. (Closed)
Patch Set: address comments 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/app_list/search/app_search_provider.cc
diff --git a/chrome/browser/ui/app_list/search/app_search_provider.cc b/chrome/browser/ui/app_list/search/app_search_provider.cc
index 2d310afde053ae25bf5df28eb59ba8fa0e6df70b..9f0642c82ee9ac4ed111e002f1b09c46b47c2d7b 100644
--- a/chrome/browser/ui/app_list/search/app_search_provider.cc
+++ b/chrome/browser/ui/app_list/search/app_search_provider.cc
@@ -33,6 +33,7 @@
#include "ui/app_list/search/tokenized_string_match.h"
#if defined(OS_CHROMEOS)
+#include "chrome/browser/chromeos/arc/arc_util.h"
#include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h"
#include "chrome/browser/ui/app_list/arc/arc_app_utils.h"
#include "chrome/browser/ui/app_list/search/arc_app_result.h"
@@ -258,7 +259,7 @@ AppSearchProvider::AppSearchProvider(Profile* profile,
data_sources_.push_back(
std::unique_ptr<DataSource>(new ExtensionDataSource(profile, this)));
#if defined(OS_CHROMEOS)
- if (arc::ArcSessionManager::IsAllowedForProfile(profile)) {
+ if (arc::IsArcAllowedForProfile(profile)) {
data_sources_.push_back(
std::unique_ptr<DataSource>(new ArcDataSource(profile, this)));
}

Powered by Google App Engine
This is Rietveld 408576698