OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_IDLTEST_IDLTEST_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_IDLTEST_IDLTEST_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_IDLTEST_IDLTEST_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_IDLTEST_IDLTEST_API_H_ |
7 #pragma once | |
8 | 7 |
9 #include "chrome/browser/extensions/extension_function.h" | 8 #include "chrome/browser/extensions/extension_function.h" |
10 | 9 |
11 class IdltestSendArrayBufferFunction : public SyncExtensionFunction { | 10 class IdltestSendArrayBufferFunction : public SyncExtensionFunction { |
12 public: | 11 public: |
13 DECLARE_EXTENSION_FUNCTION_NAME("experimental.idltest.sendArrayBuffer") | 12 DECLARE_EXTENSION_FUNCTION_NAME("experimental.idltest.sendArrayBuffer") |
14 | 13 |
15 protected: | 14 protected: |
16 virtual ~IdltestSendArrayBufferFunction() {} | 15 virtual ~IdltestSendArrayBufferFunction() {} |
17 virtual bool RunImpl() OVERRIDE; | 16 virtual bool RunImpl() OVERRIDE; |
(...skipping 11 matching lines...) Expand all Loading... |
29 class IdltestGetArrayBufferFunction : public SyncExtensionFunction { | 28 class IdltestGetArrayBufferFunction : public SyncExtensionFunction { |
30 public: | 29 public: |
31 DECLARE_EXTENSION_FUNCTION_NAME("experimental.idltest.getArrayBuffer") | 30 DECLARE_EXTENSION_FUNCTION_NAME("experimental.idltest.getArrayBuffer") |
32 | 31 |
33 protected: | 32 protected: |
34 virtual ~IdltestGetArrayBufferFunction() {} | 33 virtual ~IdltestGetArrayBufferFunction() {} |
35 virtual bool RunImpl() OVERRIDE; | 34 virtual bool RunImpl() OVERRIDE; |
36 }; | 35 }; |
37 | 36 |
38 #endif // CHROME_BROWSER_EXTENSIONS_API_IDLTEST_IDLTEST_API_H_ | 37 #endif // CHROME_BROWSER_EXTENSIONS_API_IDLTEST_IDLTEST_API_H_ |
OLD | NEW |