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

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

Issue 2545923004: Remove LauncherItemController::type; use ShelfItems::type. (Closed)
Patch Set: Rebase; remove new LauncherItemController::TYPE_APP check. Created 4 years 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/extension_app_window_launcher_item_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/extension_app_window_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/extension_app_window_launcher_item_controller.cc
index bcbcf320bddc48fe0f10f51650e0aa6d37790a05..c8eab787d2c843a601cee9462b9d10dbf9429b9e 100644
--- a/chrome/browser/ui/ash/launcher/extension_app_window_launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/extension_app_window_launcher_item_controller.cc
@@ -50,13 +50,10 @@ gfx::Image GetAppListIcon(extensions::AppWindow* app_window) {
ExtensionAppWindowLauncherItemController::
ExtensionAppWindowLauncherItemController(
- Type type,
const std::string& app_id,
const std::string& launch_id,
ChromeLauncherController* controller)
- : AppWindowLauncherItemController(type, app_id, launch_id, controller) {
- DCHECK_NE(TYPE_APP_PANEL, type);
-}
+ : AppWindowLauncherItemController(app_id, launch_id, controller) {}
ExtensionAppWindowLauncherItemController::
~ExtensionAppWindowLauncherItemController() {}

Powered by Google App Engine
This is Rietveld 408576698