Index: chrome/browser/web_applications/web_app.h |
diff --git a/chrome/browser/web_applications/web_app.h b/chrome/browser/web_applications/web_app.h |
index 0ddf31da85b6964b81eeae94f426586ceedc6c4e..a79384dfe92c6c9eae924c402f3ea1dd79afb435 100644 |
--- a/chrome/browser/web_applications/web_app.h |
+++ b/chrome/browser/web_applications/web_app.h |
@@ -8,6 +8,7 @@ |
#include <string> |
#include <vector> |
+#include "base/callback.h" |
#include "base/files/file_path.h" |
#include "build/build_config.h" |
#include "chrome/browser/shell_integration.h" |
@@ -21,6 +22,8 @@ namespace gfx { |
class ImageFamily; |
} |
+class Profile; |
+ |
namespace web_app { |
// Gets the user data directory for given web app. The path for the directory is |
@@ -105,6 +108,12 @@ std::vector<base::FilePath> GetShortcutPaths( |
const ShellIntegration::ShortcutLocations& creation_locations); |
#endif |
+#if defined(OS_MACOSX) |
+void LaunchShim(Profile* profile, |
+ const extensions::Extension* extension, |
+ base::Callback<void(bool)> completed); |
+#endif |
+ |
// Implemented for each platform, does the platform specific parts of creating |
// shortcuts. Used internally by CreateShortcutsOnFileThread. |
// |shortcut_data_path| is where to store any resources created for the |