Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Side by Side Diff: chrome/browser/extensions/api/idltest/idltest_api.h

Issue 23799006: Move idltest API to trunk channel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Setting channel to trunk for the api test Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/api/idltest/idltest_apitest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 7
8 #include "chrome/browser/extensions/extension_function.h" 8 #include "chrome/browser/extensions/extension_function.h"
9 9
10 class IdltestSendArrayBufferFunction : public SyncExtensionFunction { 10 class IdltestSendArrayBufferFunction : public SyncExtensionFunction {
11 public: 11 public:
12 DECLARE_EXTENSION_FUNCTION("experimental.idltest.sendArrayBuffer", 12 DECLARE_EXTENSION_FUNCTION("idltest.sendArrayBuffer", IDLTEST_SENDARRAYBUFFER)
13 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;
18 }; 17 };
19 18
20 class IdltestSendArrayBufferViewFunction : public SyncExtensionFunction { 19 class IdltestSendArrayBufferViewFunction : public SyncExtensionFunction {
21 public: 20 public:
22 DECLARE_EXTENSION_FUNCTION("experimental.idltest.sendArrayBufferView", 21 DECLARE_EXTENSION_FUNCTION("idltest.sendArrayBufferView",
23 EXPERIMENTAL_IDLTEST_SENDARRAYBUFFERVIEW) 22 IDLTEST_SENDARRAYBUFFERVIEW)
24 23
25 protected: 24 protected:
26 virtual ~IdltestSendArrayBufferViewFunction() {} 25 virtual ~IdltestSendArrayBufferViewFunction() {}
27 virtual bool RunImpl() OVERRIDE; 26 virtual bool RunImpl() OVERRIDE;
28 }; 27 };
29 28
30 class IdltestGetArrayBufferFunction : public SyncExtensionFunction { 29 class IdltestGetArrayBufferFunction : public SyncExtensionFunction {
31 public: 30 public:
32 DECLARE_EXTENSION_FUNCTION("experimental.idltest.getArrayBuffer", 31 DECLARE_EXTENSION_FUNCTION("idltest.getArrayBuffer", IDLTEST_GETARRAYBUFFER)
33 EXPERIMENTAL_IDLTEST_GETARRAYBUFFER)
34 32
35 protected: 33 protected:
36 virtual ~IdltestGetArrayBufferFunction() {} 34 virtual ~IdltestGetArrayBufferFunction() {}
37 virtual bool RunImpl() OVERRIDE; 35 virtual bool RunImpl() OVERRIDE;
38 }; 36 };
39 37
40 #endif // CHROME_BROWSER_EXTENSIONS_API_IDLTEST_IDLTEST_API_H_ 38 #endif // CHROME_BROWSER_EXTENSIONS_API_IDLTEST_IDLTEST_API_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/idltest/idltest_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698