virtual void DoCreateShortcutsFlow(Profile* profile,
const std::string& extension_id) = 0;
+ // Whether the controller supports a Show App Info flow.
+ virtual bool CanDoShowAppInfoFlow();
+
+ // Show the dialog with the application's information. Call only if
+ // CanDoShowAppInfoFlow() returns true.
+ virtual void DoShowAppInfoFlow(Profile* profile,
+ const std::string& extension_id);
+
// Handle the "create window" context menu items of Chrome App.
// |incognito| is true to create an incognito window.
virtual void CreateNewWindow(Profile* profile, bool incognito) = 0;
// Uninstall the app identified by |app_id| from |profile|.
void UninstallApp(Profile* profile, const std::string& app_id);
+ // Remove the app identified by |app_id| in |profile| from its folder.
+ void RemoveAppFromFolder(Profile* profile, const std::string& app_id);
+
// True if the app was installed from the web store.
bool IsAppFromWebStore(Profile* profile,
const std::string& app_id);