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_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 | |
8 | 7 |
9 #include "chrome/browser/extensions/extension_function.h" | 8 #include "chrome/browser/extensions/extension_function.h" |
10 | 9 |
11 namespace extensions { | 10 namespace extensions { |
12 class ExtensionPrefs; | 11 class ExtensionPrefs; |
13 } | 12 } |
14 | 13 |
15 class SetUpdateUrlDataFunction : public SyncExtensionFunction { | 14 class SetUpdateUrlDataFunction : public SyncExtensionFunction { |
16 public: | 15 public: |
17 DECLARE_EXTENSION_FUNCTION_NAME("extension.setUpdateUrlData"); | 16 DECLARE_EXTENSION_FUNCTION_NAME("extension.setUpdateUrlData"); |
(...skipping 24 matching lines...) Expand all Loading... |
42 DECLARE_EXTENSION_FUNCTION_NAME("extension.isAllowedFileSchemeAccess"); | 41 DECLARE_EXTENSION_FUNCTION_NAME("extension.isAllowedFileSchemeAccess"); |
43 | 42 |
44 protected: | 43 protected: |
45 virtual ~IsAllowedFileSchemeAccessFunction() {} | 44 virtual ~IsAllowedFileSchemeAccessFunction() {} |
46 | 45 |
47 // ExtensionFunction: | 46 // ExtensionFunction: |
48 virtual bool RunImpl() OVERRIDE; | 47 virtual bool RunImpl() OVERRIDE; |
49 }; | 48 }; |
50 | 49 |
51 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MODULE_H__ | 50 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MODULE_H__ |
OLD | NEW |