Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller.h |
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h |
index e0bdadcce9d73d2e0145d4725a4c563e4ebd9c91..9c448b66be6ad31ecdb41ade70f45879f40513bd 100644 |
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h |
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h |
@@ -179,6 +179,14 @@ class ChromeLauncherController : public ash::ShelfDelegate, |
// be pinned. |
bool IsPinnable(ash::ShelfID id) const; |
+ // Installs the specified id. Only valid if the id corresponds to an ephemeral |
+ // app. |
+ void Install(ash::ShelfID id); |
+ |
+ // Returns true if the specified item can be installed. Only true for |
+ // ephemeral apps. |
+ bool CanInstall(ash::ShelfID id); |
+ |
// If there is no shelf item in the shelf for application |app_id|, one |
// gets created. The (existing or created) shelf items get then locked |
// against a users un-pinning removal. |