Index: chrome/browser/web_applications/web_app_mac.h |
diff --git a/chrome/browser/web_applications/web_app_mac.h b/chrome/browser/web_applications/web_app_mac.h |
index a0a8b2060ddb3a999495de14be46b37b7ceef6c3..7c2ff41676a066303c52b8f4fd74904a9396c338 100644 |
--- a/chrome/browser/web_applications/web_app_mac.h |
+++ b/chrome/browser/web_applications/web_app_mac.h |
@@ -14,6 +14,10 @@ |
#include "chrome/browser/web_applications/web_app.h" |
#include "extensions/common/manifest_handlers/file_handler_info.h" |
+namespace base { |
+class CommandLine; |
+} |
+ |
// Whether to enable update and launch of app shims in tests. (Normally shims |
// are never created or launched in tests). Note that update only creates |
// internal shim bundles, i.e. it does not create new shims in ~/Applications. |
@@ -28,6 +32,9 @@ base::FilePath GetAppInstallPath(const ShortcutInfo& shortcut_info); |
// If necessary, launch the shortcut for an app. |
void MaybeLaunchShortcut(const ShortcutInfo& shortcut_info); |
+// Rebuild the shortcut and relaunch it. |
+bool MaybeRebuildShortcut(const base::CommandLine& command_line); |
+ |
// Creates a shortcut for a web application. The shortcut is a stub app |
// that simply loads the browser framework and runs the given app. |
class WebAppShortcutCreator { |