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..7302c21233df0b4cf850ef7310098df688cef0af 100644 |
--- a/extensions/browser/api/app_runtime/app_runtime_api.h |
+++ b/extensions/browser/api/app_runtime/app_runtime_api.h |
@@ -9,6 +9,7 @@ |
#include <string> |
#include <vector> |
+#include "base/optional.h" |
#include "extensions/common/constants.h" |
class GURL; |
@@ -39,7 +40,8 @@ class AppRuntimeEventRouter { |
// Dispatches the onLaunched event to the given app. |
static void DispatchOnLaunchedEvent(content::BrowserContext* context, |
const Extension* extension, |
- extensions::AppLaunchSource source); |
+ extensions::AppLaunchSource source, |
+ base::Optional<ActionData> action_data); |
// Dispatches the onRestarted event to the given app, providing a list of |
// restored file entries from the previous run. |
@@ -64,9 +66,11 @@ class AppRuntimeEventRouter { |
static void DispatchOnLaunchedEventWithFileEntries( |
content::BrowserContext* context, |
const Extension* extension, |
+ extensions::AppLaunchSource source, |
const std::string& handler_id, |
const std::vector<EntryInfo>& entries, |
- const std::vector<GrantedFileEntry>& file_entries); |
+ const std::vector<GrantedFileEntry>& file_entries, |
+ base::Optional<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. |