Chromium Code Reviews| Index: chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h |
| diff --git a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h |
| index a71c1822e07006b61766213b65371f3648972380..4976f1ae8e7d14e3d1e4ac7b485becda08506d45 100644 |
| --- a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h |
| +++ b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h |
| @@ -31,6 +31,7 @@ class AppShortcutLauncherItemController : public LauncherItemController { |
| static AppShortcutLauncherItemController* Create( |
| const std::string& app_id, |
| + const std::string& launch_id, |
| ChromeLauncherController* controller); |
| std::vector<content::WebContents*> GetRunningApplications(); |
| @@ -59,8 +60,13 @@ class AppShortcutLauncherItemController : public LauncherItemController { |
| ChromeLauncherController* controller() { return chrome_launcher_controller_; } |
| + const std::string& app_id() const { return app_id_; } |
| + |
| + const std::string& launch_id() const { return launch_id_; } |
| + |
| protected: |
| AppShortcutLauncherItemController(const std::string& app_id, |
| + const std::string& launch_id, |
| ChromeLauncherController* controller); |
| private: |
| @@ -100,6 +106,12 @@ class AppShortcutLauncherItemController : public LauncherItemController { |
| ChromeLauncherController* chrome_launcher_controller_; |
| + // The application id associated with this app shortcut. |
| + const std::string app_id_; |
| + |
| + // The launch id associated with this app shortcut. |
|
James Cook
2016/09/01 04:27:51
This needs to document what |launch_id_| *means*,
Andra Paraschiv
2016/09/01 08:27:25
Done.
|
| + const std::string launch_id_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(AppShortcutLauncherItemController); |
| }; |