| 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_RENDERER_EXTENSIONS_CUSTOM_BINDINGS_UTIL_H_ | 5 #ifndef CHROME_RENDERER_EXTENSIONS_CUSTOM_BINDINGS_UTIL_H_ |
| 6 #define CHROME_RENDERER_EXTENSIONS_CUSTOM_BINDINGS_UTIL_H_ | 6 #define CHROME_RENDERER_EXTENSIONS_CUSTOM_BINDINGS_UTIL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "chrome/renderer/extensions/chrome_v8_extension.h" | 12 class GURL; |
| 13 | |
| 14 class Extension; | 13 class Extension; |
| 15 class ExtensionDispatcher; | 14 class ExtensionDispatcher; |
| 16 | 15 |
| 17 namespace v8 { | 16 namespace v8 { |
| 18 class Extension; | 17 class Extension; |
| 19 } | 18 } |
| 20 | 19 |
| 21 namespace extensions { | 20 namespace extensions { |
| 22 | 21 |
| 23 // Utilities for managing the set of V8 extensions for extension API custom | 22 // Utilities for managing the set of V8 extensions for extension API custom |
| (...skipping 14 matching lines...) Expand all Loading... |
| 38 // to run in. | 37 // to run in. |
| 39 bool AllowAPIInjection(const std::string& api_name, | 38 bool AllowAPIInjection(const std::string& api_name, |
| 40 const Extension& extension, | 39 const Extension& extension, |
| 41 ExtensionDispatcher* extension_dispatcher); | 40 ExtensionDispatcher* extension_dispatcher); |
| 42 | 41 |
| 43 } // namespace custom_bindings_util | 42 } // namespace custom_bindings_util |
| 44 | 43 |
| 45 } // namespace extensions | 44 } // namespace extensions |
| 46 | 45 |
| 47 #endif // CHROME_RENDERER_EXTENSIONS_CUSTOM_BINDINGS_UTIL_H_ | 46 #endif // CHROME_RENDERER_EXTENSIONS_CUSTOM_BINDINGS_UTIL_H_ |
| OLD | NEW |