Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3304)

Unified Diff: chrome/browser/web_applications/web_app_mac.h

Issue 265163006: [Mac] Rebuild app shims when they fail to dyload Chrome Framework. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {

Powered by Google App Engine
This is Rietveld 408576698