| 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 fc7965a720fe6feaf5cf83cbcc3cd3572582c546..f75146d745048e77a1fd16c56ea574164075076a 100644
|
| --- a/chrome/browser/extensions/platform_app_launcher.h
|
| +++ b/chrome/browser/extensions/platform_app_launcher.h
|
| @@ -9,6 +9,7 @@
|
| #include <vector>
|
|
|
| class CommandLine;
|
| +class GURL;
|
| class Profile;
|
|
|
| namespace base {
|
| @@ -36,14 +37,15 @@ void LaunchPlatformApp(Profile* profile,
|
| const CommandLine* command_line,
|
| const base::FilePath& current_directory);
|
|
|
| -// Launches the platform app |extension| with the contents of |file_path|
|
| -// available through the launch data.
|
| +// Launches the platform app |extension| by issuing an onLaunched event to it,
|
| +// with the contents of |file_path| available through the launch data.
|
| void LaunchPlatformAppWithPath(Profile* profile,
|
| const Extension* extension,
|
| const base::FilePath& file_path);
|
|
|
| -// Launches the platform app |extension| with the contents of |file_path|
|
| -// available through the launch data.
|
| +// Launches the platform app |extension| by issuing an onLaunched event to it,
|
| +// with the contents of |file_path| and the |handler_id| available through the
|
| +// launch data.
|
| void LaunchPlatformAppWithFileHandler(Profile* profile,
|
| const Extension* extension,
|
| const std::string& handler_id,
|
| @@ -55,6 +57,14 @@ void RestartPlatformAppWithFileEntries(
|
| const std::vector<app_file_handler_util::SavedFileEntry>&
|
| saved_file_entries);
|
|
|
| +// Launches the patform app |extension| by issuing an onLaunched event to it,
|
| +// with |url| and |referrer_url| available through the launch data.
|
| +void LaunchPlatformAppWithUrl(Profile* profile,
|
| + const Extension* extension,
|
| + const std::string& handler_id,
|
| + const GURL& url,
|
| + const GURL& referrer_url);
|
| +
|
| } // namespace extensions
|
|
|
| #endif // CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_LAUNCHER_H_
|
|
|