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

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

Issue 2668153002: Revert of Move more utility functions to arc_util. (Closed)
Patch Set: 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 9f0642c82ee9ac4ed111e002f1b09c46b47c2d7b..2d310afde053ae25bf5df28eb59ba8fa0e6df70b 100644
--- a/chrome/browser/ui/app_list/search/app_search_provider.cc
+++ b/chrome/browser/ui/app_list/search/app_search_provider.cc
@@ -33,7 +33,6 @@
#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"
@@ -259,7 +258,7 @@
data_sources_.push_back(
std::unique_ptr<DataSource>(new ExtensionDataSource(profile, this)));
#if defined(OS_CHROMEOS)
- if (arc::IsArcAllowedForProfile(profile)) {
+ if (arc::ArcSessionManager::IsAllowedForProfile(profile)) {
data_sources_.push_back(
std::unique_ptr<DataSource>(new ArcDataSource(profile, this)));
}

Powered by Google App Engine
This is Rietveld 408576698