| 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 66299d65bc8fa92b45c2483e53a0ece7c3ae71f8..e2789c9d05a400499cd000a5c2f745bfe2b1481b 100644
|
| --- a/chrome/browser/extensions/api/app/app_api.h
|
| +++ b/chrome/browser/extensions/api/app/app_api.h
|
| @@ -8,6 +8,11 @@
|
|
|
| #include "chrome/browser/extensions/extension_function.h"
|
|
|
| +class Extension;
|
| +class Profile;
|
| +
|
| +namespace extensions {
|
| +
|
| class AppNotifyFunction : public SyncExtensionFunction {
|
| virtual ~AppNotifyFunction() {}
|
| virtual bool RunImpl() OVERRIDE;
|
| @@ -20,4 +25,13 @@ class AppClearAllNotificationsFunction : public SyncExtensionFunction {
|
| DECLARE_EXTENSION_FUNCTION_NAME("experimental.app.clearAllNotifications");
|
| };
|
|
|
| +class AppEventRouter {
|
| + public:
|
| + // Dispatches the onLaunched event to the given app.
|
| + static void DispatchOnLaunchedEvent(Profile* profile,
|
| + const Extension* extension);
|
| +};
|
| +
|
| +} // namespace extensions
|
| +
|
| #endif // CHROME_BROWSER_EXTENSIONS_API_APP_APP_API_H_
|
|
|