summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/platform_app_launcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/platform_app_launcher.h')
-rw-r--r--chrome/browser/extensions/platform_app_launcher.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/browser/extensions/platform_app_launcher.h b/chrome/browser/extensions/platform_app_launcher.h
index c301c45..fc7965a 100644
--- a/chrome/browser/extensions/platform_app_launcher.h
+++ b/chrome/browser/extensions/platform_app_launcher.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_LAUNCHER_H_
#include <string>
+#include <vector>
class CommandLine;
class Profile;
@@ -22,6 +23,10 @@ namespace extensions {
class Extension;
+namespace app_file_handler_util {
+struct SavedFileEntry;
+}
+
// Launches the platform app |extension|. Creates appropriate launch data for
// the |command_line| fields present. |extension| and |profile| must not be
// NULL. A NULL |command_line| means there is no launch data. If non-empty,
@@ -44,6 +49,12 @@ void LaunchPlatformAppWithFileHandler(Profile* profile,
const std::string& handler_id,
const base::FilePath& file_path);
+void RestartPlatformAppWithFileEntries(
+ Profile* profile,
+ const Extension* extension,
+ const std::vector<app_file_handler_util::SavedFileEntry>&
+ saved_file_entries);
+
} // namespace extensions
#endif // CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_LAUNCHER_H_