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

Side by Side Diff: chrome/browser/extensions/extension_module.h

Issue 10071035: RefCounted types should not have public destructors, chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile fix Created 8 years, 8 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_EXTENSION_MODULE_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MODULE_H__
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MODULE_H__ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MODULE_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 ExtensionPrefs; 11 class ExtensionPrefs;
12 12
13 class SetUpdateUrlDataFunction : public SyncExtensionFunction { 13 class SetUpdateUrlDataFunction : public SyncExtensionFunction {
14 public:
15 DECLARE_EXTENSION_FUNCTION_NAME("extension.setUpdateUrlData");
16
14 protected: 17 protected:
18 virtual ~SetUpdateUrlDataFunction() {}
19
20 // ExtensionFunction:
15 virtual bool RunImpl() OVERRIDE; 21 virtual bool RunImpl() OVERRIDE;
16 DECLARE_EXTENSION_FUNCTION_NAME("extension.setUpdateUrlData");
17 22
18 private: 23 private:
19 ExtensionPrefs* extension_prefs(); 24 ExtensionPrefs* extension_prefs();
20 }; 25 };
21 26
22 class IsAllowedIncognitoAccessFunction : public SyncExtensionFunction { 27 class IsAllowedIncognitoAccessFunction : public SyncExtensionFunction {
28 public:
29 DECLARE_EXTENSION_FUNCTION_NAME("extension.isAllowedIncognitoAccess");
30
23 protected: 31 protected:
32 virtual ~IsAllowedIncognitoAccessFunction() {}
33
34 // ExtensionFunction:
24 virtual bool RunImpl() OVERRIDE; 35 virtual bool RunImpl() OVERRIDE;
25 DECLARE_EXTENSION_FUNCTION_NAME("extension.isAllowedIncognitoAccess");
26 }; 36 };
27 37
28 class IsAllowedFileSchemeAccessFunction : public SyncExtensionFunction { 38 class IsAllowedFileSchemeAccessFunction : public SyncExtensionFunction {
39 public:
40 DECLARE_EXTENSION_FUNCTION_NAME("extension.isAllowedFileSchemeAccess");
41
29 protected: 42 protected:
43 virtual ~IsAllowedFileSchemeAccessFunction() {}
44
45 // ExtensionFunction:
30 virtual bool RunImpl() OVERRIDE; 46 virtual bool RunImpl() OVERRIDE;
31 DECLARE_EXTENSION_FUNCTION_NAME("extension.isAllowedFileSchemeAccess");
32 }; 47 };
33 48
34 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MODULE_H__ 49 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MODULE_H__
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_metrics_module.h ('k') | chrome/browser/extensions/extension_omnibox_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698