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

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

Issue 10388186: RefCounted types should not have public destructors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
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 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/extensions/extension_function.h" 9 #include "chrome/browser/extensions/extension_function.h"
10 10
11 class IdltestSendArrayBufferFunction : public SyncExtensionFunction { 11 class IdltestSendArrayBufferFunction : public SyncExtensionFunction {
12 public: 12 public:
13 DECLARE_EXTENSION_FUNCTION_NAME("experimental.idltest.sendArrayBuffer")
14
15 protected:
16 virtual ~IdltestSendArrayBufferFunction() {}
13 virtual bool RunImpl() OVERRIDE; 17 virtual bool RunImpl() OVERRIDE;
14 private:
15 DECLARE_EXTENSION_FUNCTION_NAME("experimental.idltest.sendArrayBuffer")
16 }; 18 };
17 19
18 class IdltestSendArrayBufferViewFunction : public SyncExtensionFunction { 20 class IdltestSendArrayBufferViewFunction : public SyncExtensionFunction {
19 public: 21 public:
22 DECLARE_EXTENSION_FUNCTION_NAME("experimental.idltest.sendArrayBufferView")
23
24 protected:
25 virtual ~IdltestSendArrayBufferViewFunction() {}
20 virtual bool RunImpl() OVERRIDE; 26 virtual bool RunImpl() OVERRIDE;
21 private:
22 DECLARE_EXTENSION_FUNCTION_NAME("experimental.idltest.sendArrayBufferView")
23 }; 27 };
24 28
25 class IdltestGetArrayBufferFunction : public SyncExtensionFunction { 29 class IdltestGetArrayBufferFunction : public SyncExtensionFunction {
26 public: 30 public:
31 DECLARE_EXTENSION_FUNCTION_NAME("experimental.idltest.getArrayBuffer")
32
33 protected:
34 virtual ~IdltestGetArrayBufferFunction() {}
27 virtual bool RunImpl() OVERRIDE; 35 virtual bool RunImpl() OVERRIDE;
28 private:
29 DECLARE_EXTENSION_FUNCTION_NAME("experimental.idltest.getArrayBuffer")
30 }; 36 };
31 37
32 #endif // CHROME_BROWSER_EXTENSIONS_API_IDLTEST_IDLTEST_API_H_ 38 #endif // CHROME_BROWSER_EXTENSIONS_API_IDLTEST_IDLTEST_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698