| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_APP_APP_API_H_ | |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_APP_APP_API_H_ | |
| 7 | |
| 8 #include "chrome/browser/extensions/extension_function.h" | |
| 9 | |
| 10 namespace extensions { | |
| 11 | |
| 12 class AppNotifyFunction : public SyncExtensionFunction { | |
| 13 public: | |
| 14 DECLARE_EXTENSION_FUNCTION("experimental.app.notify", EXPERIMENTAL_APP_NOTIFY) | |
| 15 | |
| 16 protected: | |
| 17 virtual ~AppNotifyFunction() {} | |
| 18 virtual bool RunImpl() OVERRIDE; | |
| 19 }; | |
| 20 | |
| 21 class AppClearAllNotificationsFunction : public SyncExtensionFunction { | |
| 22 public: | |
| 23 DECLARE_EXTENSION_FUNCTION("experimental.app.clearAllNotifications", | |
| 24 EXPERIMENTAL_APP_CLEARALLNOTIFICATIONS) | |
| 25 | |
| 26 protected: | |
| 27 virtual ~AppClearAllNotificationsFunction() {} | |
| 28 virtual bool RunImpl() OVERRIDE; | |
| 29 }; | |
| 30 | |
| 31 } // namespace extensions | |
| 32 | |
| 33 #endif // CHROME_BROWSER_EXTENSIONS_API_APP_APP_API_H_ | |
| OLD | NEW |