Index: chrome/browser/extensions/api/alarms/alarms_api.h |
diff --git a/chrome/browser/extensions/api/alarms/alarms_api.h b/chrome/browser/extensions/api/alarms/alarms_api.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5d0ced284d67cf6721ee9b0b8fd564d1508c47ac |
--- /dev/null |
+++ b/chrome/browser/extensions/api/alarms/alarms_api.h |
@@ -0,0 +1,41 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_EXTENSIONS_API_ALARMS_ALARMS_API_H__ |
+#define CHROME_BROWSER_EXTENSIONS_API_ALARMS_ALARMS_API_H__ |
+#pragma once |
+ |
+#include "chrome/browser/extensions/extension_function.h" |
+ |
+class AlarmsSetFunction : public SyncExtensionFunction { |
+ protected: |
+ virtual bool RunImpl() OVERRIDE; |
+ DECLARE_EXTENSION_FUNCTION_NAME("experimental.alarms.set"); |
+}; |
+ |
+class AlarmsGetFunction : public SyncExtensionFunction { |
+ protected: |
+ virtual bool RunImpl() OVERRIDE; |
+ DECLARE_EXTENSION_FUNCTION_NAME("experimental.alarms.get"); |
+}; |
+ |
+class AlarmsGetAllFunction : public SyncExtensionFunction { |
+ protected: |
+ virtual bool RunImpl() OVERRIDE; |
+ DECLARE_EXTENSION_FUNCTION_NAME("experimental.alarms.getAll"); |
+}; |
+ |
+class AlarmsClearFunction : public SyncExtensionFunction { |
+ protected: |
+ virtual bool RunImpl() OVERRIDE; |
+ DECLARE_EXTENSION_FUNCTION_NAME("experimental.alarms.clear"); |
+}; |
+ |
+class AlarmsClearAllFunction : public SyncExtensionFunction { |
+ protected: |
+ virtual bool RunImpl() OVERRIDE; |
+ DECLARE_EXTENSION_FUNCTION_NAME("experimental.alarms.clearAll"); |
+}; |
+ |
+#endif // CHROME_BROWSER_EXTENSIONS_API_ALARMS_ALARMS_API_H__ |