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 c96fdad44b03fd6b3966fe09ec8d41673f144b8a..8c65ecb6a46296f5c9c844f3f631a3a4b69e4586 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 "chrome/common/extensions/file_handler_info.h" |
+namespace base { |
+class CommandLine; |
+} |
+ |
namespace web_app { |
// Returns the full path of the .app shim that would be created by |
@@ -24,6 +28,9 @@ base::FilePath GetAppInstallPath( |
// If necessary, launch the shortcut for an app. |
void MaybeLaunchShortcut(const web_app::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 { |