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..e61bdcb57e843562421fb6ff982a0ee85cb63eb1 100644 |
--- a/chrome/browser/web_applications/web_app_mac.h |
+++ b/chrome/browser/web_applications/web_app_mac.h |
@@ -9,6 +9,7 @@ |
#include <vector> |
#include "base/basictypes.h" |
+#include "base/command_line.h" |
tapted
2014/05/05 07:02:01
nit: forward declare?
jackhou1
2014/05/06 04:47:58
Done.
|
#include "base/files/file_path.h" |
#include "base/gtest_prod_util.h" |
#include "chrome/browser/web_applications/web_app.h" |
@@ -24,6 +25,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 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 { |