Index: chrome/browser/extensions/platform_app_launcher.h |
diff --git a/chrome/browser/extensions/platform_app_launcher.h b/chrome/browser/extensions/platform_app_launcher.h |
index c301c4542b40a896f0ada0bfe1083753dd140656..fc7965a720fe6feaf5cf83cbcc3cd3572582c546 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_ |