| Index: chrome/browser/extensions/api/app/app_api.h
|
| diff --git a/chrome/browser/extensions/api/app/app_api.h b/chrome/browser/extensions/api/app/app_api.h
|
| index 230d5d8fd2b090b456eba210e8316ffa4274d1d0..861086b41afd9cf6089e3e0815662f9c79365efb 100644
|
| --- a/chrome/browser/extensions/api/app/app_api.h
|
| +++ b/chrome/browser/extensions/api/app/app_api.h
|
| @@ -10,8 +10,8 @@
|
| class Profile;
|
| class GURL;
|
|
|
| -namespace webkit_glue {
|
| -struct WebIntentData;
|
| +namespace content {
|
| +class WebIntentsDispatcher;
|
| }
|
|
|
| namespace extensions {
|
| @@ -36,6 +36,15 @@ class AppClearAllNotificationsFunction : public SyncExtensionFunction {
|
| virtual bool RunImpl() OVERRIDE;
|
| };
|
|
|
| +class PostIntentResponseFunction : public SyncExtensionFunction {
|
| + public:
|
| + DECLARE_EXTENSION_FUNCTION_NAME("experimental.app.postIntentResponse");
|
| +
|
| + protected:
|
| + virtual ~PostIntentResponseFunction() {}
|
| + virtual bool RunImpl() OVERRIDE;
|
| +};
|
| +
|
| class AppEventRouter {
|
| public:
|
| // Dispatches the onLaunched event to the given app, providing no launch
|
| @@ -71,7 +80,7 @@ class AppEventRouter {
|
| static void DispatchOnLaunchedEventWithWebIntent(
|
| Profile* profile,
|
| const Extension* extension,
|
| - const webkit_glue::WebIntentData web_intent_data);
|
| + content::WebIntentsDispatcher* intents_dispatcher);
|
| };
|
|
|
| } // namespace extensions
|
|
|