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..fe71b96a7986f317a746b94320c1b743d261eae2 |
--- /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 AlarmsCreateFunction : public SyncExtensionFunction { |
+ protected: |
+ virtual bool RunImpl() OVERRIDE; |
+ DECLARE_EXTENSION_FUNCTION_NAME("experimental.alarms.create"); |
+}; |
+ |
+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__ |