Index: chrome/browser/extensions/api/notifications/notifications_api.h |
diff --git a/chrome/browser/extensions/api/notifications/notifications_api.h b/chrome/browser/extensions/api/notifications/notifications_api.h |
index 8635a39f652e5364684d4ea7bc8649fc4d9a45ff..447d0bfe1bec287152e3625e351056d2b7293a7f 100644 |
--- a/chrome/browser/extensions/api/notifications/notifications_api.h |
+++ b/chrome/browser/extensions/api/notifications/notifications_api.h |
@@ -89,6 +89,20 @@ class NotificationsClearFunction : public NotificationsApiFunction { |
DECLARE_EXTENSION_FUNCTION("notifications.clear", NOTIFICATIONS_CLEAR) |
}; |
+class NotificationsGetAllFunction : public NotificationsApiFunction { |
+ public: |
+ NotificationsGetAllFunction(); |
+ |
+ // UIThreadExtensionFunction: |
+ virtual bool RunNotificationsApi() OVERRIDE; |
+ |
+ protected: |
+ virtual ~NotificationsGetAllFunction(); |
+ |
+ private: |
+ DECLARE_EXTENSION_FUNCTION("notifications.getAll", NOTIFICATIONS_GET_ALL) |
+}; |
+ |
} // namespace extensions |
#endif // CHROME_BROWSER_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATIONS_API_H_ |