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

Unified Diff: chrome/browser/ui/ash/app_list/app_list_controller_ash.cc

Issue 2090133003: Moved methods that don't rely on internal state out of ChromeLauncherController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit changes Created 4 years, 6 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/app_list/app_list_controller_ash.cc
diff --git a/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc b/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
index 1245ad6f7958f3b3228bd2c2adbfe72b50a8edbd..4c2eef8920ac457c11ade702b8e6514de45922cc 100644
--- a/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
+++ b/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
@@ -9,6 +9,7 @@
#include "ash/shell.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
+#include "chrome/browser/ui/ash/launcher/chrome_launcher_controller_util.h"
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/browser/ui/browser_navigator.h"
#include "chrome/browser/ui/browser_navigator_params.h"
@@ -57,7 +58,8 @@ void AppListControllerDelegateAsh::UnpinApp(const std::string& app_id) {
AppListControllerDelegate::Pinnable AppListControllerDelegateAsh::GetPinnable(
const std::string& app_id) {
- return ChromeLauncherController::instance()->GetPinnable(app_id);
+ return GetPinnableForAppID(
+ app_id, ChromeLauncherController::instance()->GetProfile());
}
void AppListControllerDelegateAsh::OnShowChildDialog() {

Powered by Google App Engine
This is Rietveld 408576698