| Index: extensions/browser/api/app_runtime/app_runtime_api.h
|
| diff --git a/extensions/browser/api/app_runtime/app_runtime_api.h b/extensions/browser/api/app_runtime/app_runtime_api.h
|
| index 1548387b2e57d4b0040b00cd457c2fc15139d51c..99a55dea4fded8ed598cad3562d3e0e5ac47e3f7 100644
|
| --- a/extensions/browser/api/app_runtime/app_runtime_api.h
|
| +++ b/extensions/browser/api/app_runtime/app_runtime_api.h
|
| @@ -24,6 +24,12 @@ class WebContents;
|
|
|
| namespace extensions {
|
|
|
| +namespace api {
|
| +namespace app_runtime {
|
| +struct ActionData;
|
| +}
|
| +}
|
| +
|
| class Extension;
|
| struct EntryInfo;
|
| struct GrantedFileEntry;
|
| @@ -34,12 +40,14 @@ class AppRuntimeEventRouter {
|
| static void DispatchOnEmbedRequestedEvent(
|
| content::BrowserContext* context,
|
| std::unique_ptr<base::DictionaryValue> app_embedding_request_data,
|
| - const extensions::Extension* extension);
|
| + const Extension* extension);
|
|
|
| // Dispatches the onLaunched event to the given app.
|
| - static void DispatchOnLaunchedEvent(content::BrowserContext* context,
|
| - const Extension* extension,
|
| - extensions::AppLaunchSource source);
|
| + static void DispatchOnLaunchedEvent(
|
| + content::BrowserContext* context,
|
| + const Extension* extension,
|
| + AppLaunchSource source,
|
| + std::unique_ptr<api::app_runtime::ActionData> action_data);
|
|
|
| // Dispatches the onRestarted event to the given app, providing a list of
|
| // restored file entries from the previous run.
|
| @@ -64,9 +72,11 @@ class AppRuntimeEventRouter {
|
| static void DispatchOnLaunchedEventWithFileEntries(
|
| content::BrowserContext* context,
|
| const Extension* extension,
|
| + AppLaunchSource source,
|
| const std::string& handler_id,
|
| const std::vector<EntryInfo>& entries,
|
| - const std::vector<GrantedFileEntry>& file_entries);
|
| + const std::vector<GrantedFileEntry>& file_entries,
|
| + std::unique_ptr<api::app_runtime::ActionData> action_data);
|
|
|
| // |handler_id| corresponds to the id of the url_handlers item
|
| // in the manifest that resulted in a match which triggered this launch.
|
|
|