OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 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_ALARMS_ALARMS_API_H__ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_ALARMS_ALARMS_API_H__ |
| 7 #pragma once |
| 8 |
| 9 #include "chrome/browser/extensions/extension_function.h" |
| 10 |
| 11 class AlarmsSetFunction : public SyncExtensionFunction { |
| 12 protected: |
| 13 virtual bool RunImpl() OVERRIDE; |
| 14 DECLARE_EXTENSION_FUNCTION_NAME("experimental.alarms.set"); |
| 15 }; |
| 16 |
| 17 class AlarmsGetFunction : public SyncExtensionFunction { |
| 18 protected: |
| 19 virtual bool RunImpl() OVERRIDE; |
| 20 DECLARE_EXTENSION_FUNCTION_NAME("experimental.alarms.get"); |
| 21 }; |
| 22 |
| 23 class AlarmsGetAllFunction : public SyncExtensionFunction { |
| 24 protected: |
| 25 virtual bool RunImpl() OVERRIDE; |
| 26 DECLARE_EXTENSION_FUNCTION_NAME("experimental.alarms.getAll"); |
| 27 }; |
| 28 |
| 29 class AlarmsClearFunction : public SyncExtensionFunction { |
| 30 protected: |
| 31 virtual bool RunImpl() OVERRIDE; |
| 32 DECLARE_EXTENSION_FUNCTION_NAME("experimental.alarms.clear"); |
| 33 }; |
| 34 |
| 35 class AlarmsClearAllFunction : public SyncExtensionFunction { |
| 36 protected: |
| 37 virtual bool RunImpl() OVERRIDE; |
| 38 DECLARE_EXTENSION_FUNCTION_NAME("experimental.alarms.clearAll"); |
| 39 }; |
| 40 |
| 41 #endif // CHROME_BROWSER_EXTENSIONS_API_ALARMS_ALARMS_API_H__ |
OLD | NEW |