| 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_IDLTEST_IDLTEST_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_IDLTEST_IDLTEST_API_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "chrome/browser/extensions/extension_function.h" |
| 10 |
| 11 class IdltestSendArrayBufferFunction : public SyncExtensionFunction { |
| 12 public: |
| 13 virtual bool RunImpl() OVERRIDE; |
| 14 private: |
| 15 DECLARE_EXTENSION_FUNCTION_NAME("experimental.idltest.sendArrayBuffer") |
| 16 }; |
| 17 |
| 18 class IdltestSendArrayBufferViewFunction : public SyncExtensionFunction { |
| 19 public: |
| 20 virtual bool RunImpl() OVERRIDE; |
| 21 private: |
| 22 DECLARE_EXTENSION_FUNCTION_NAME("experimental.idltest.sendArrayBufferView") |
| 23 }; |
| 24 |
| 25 class IdltestGetArrayBufferFunction : public SyncExtensionFunction { |
| 26 public: |
| 27 virtual bool RunImpl() OVERRIDE; |
| 28 private: |
| 29 DECLARE_EXTENSION_FUNCTION_NAME("experimental.idltest.getArrayBuffer") |
| 30 }; |
| 31 |
| 32 #endif // CHROME_BROWSER_EXTENSIONS_API_IDLTEST_IDLTEST_API_H_ |
| OLD | NEW |