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

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

Issue 2860503002: mash: Replace int ShelfIDs with AppLaunchID strings. (Closed)
Patch Set: Fix struct traits typo. Created 3 years, 7 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/extension_launcher_context_menu.cc
diff --git a/chrome/browser/ui/ash/launcher/extension_launcher_context_menu.cc b/chrome/browser/ui/ash/launcher/extension_launcher_context_menu.cc
index abdd9f25e170c5813c87a085e60d51df678d9bd9..94415afc6194159266755ec0117ec7f4db913e98 100644
--- a/chrome/browser/ui/ash/launcher/extension_launcher_context_menu.cc
+++ b/chrome/browser/ui/ash/launcher/extension_launcher_context_menu.cc
@@ -211,8 +211,8 @@ void ExtensionLauncherContextMenu::ExecuteCommand(int command_id,
}
extensions::LaunchType ExtensionLauncherContextMenu::GetLaunchType() const {
- const extensions::Extension* extension = GetExtensionForAppID(
- item().app_launch_id.app_id(), controller()->profile());
+ const extensions::Extension* extension =
+ GetExtensionForAppID(item().id.app_id, controller()->profile());
// An extension can be unloaded/updated/unavailable at any time.
if (!extension)
@@ -223,6 +223,5 @@ extensions::LaunchType ExtensionLauncherContextMenu::GetLaunchType() const {
}
void ExtensionLauncherContextMenu::SetLaunchType(extensions::LaunchType type) {
- extensions::SetLaunchType(controller()->profile(),
- item().app_launch_id.app_id(), type);
+ extensions::SetLaunchType(controller()->profile(), item().id.app_id, type);
}

Powered by Google App Engine
This is Rietveld 408576698