Index: chrome/browser/extensions/api/app_runtime/app_runtime_api.h |
diff --git a/chrome/browser/extensions/api/app_runtime/app_runtime_api.h b/chrome/browser/extensions/api/app_runtime/app_runtime_api.h |
index f9075b4cc084a19893f576c74905daee90a70b82..24b4c42e899c44410fef45fa3a44b776b9eb6493 100644 |
--- a/chrome/browser/extensions/api/app_runtime/app_runtime_api.h |
+++ b/chrome/browser/extensions/api/app_runtime/app_runtime_api.h |
@@ -28,6 +28,9 @@ class AppEventRouter { |
// data. |
static void DispatchOnLaunchedEvent(Profile* profile, |
const Extension* extension); |
+ |
+ // Dispatches the onRestarted event to the given app, providing a list of |
+ // restored file entries from the previous run. |
static void DispatchOnRestartedEvent( |
Profile* profile, |
const Extension* extension, |
@@ -55,6 +58,16 @@ class AppEventRouter { |
const std::string& mime_type, |
const std::string& file_system_id, |
const std::string& base_name); |
+ |
+ // Redirects a URL |url| to |extension|. |
+ // launchData.intent.data and launchData.intent.postResults are created in a |
+ // custom dispatch event in javascript. |
asargent_no_longer_on_chrome
2013/08/14 18:05:12
This comment seems unrelated to the implementation
sergeygs
2013/08/18 11:40:24
Sort of. I was part-cloning the similar thing for
|
+ static void DispatchOnLaunchedEventWithURL( |
+ Profile* profile, |
+ const Extension* extension, |
+ const std::string& handler_id, |
+ const GURL& url, |
+ const GURL& referrer_url); |
}; |
} // namespace extensions |