Index: chrome/renderer/extensions/extension_dispatcher.h |
diff --git a/chrome/renderer/extensions/extension_dispatcher.h b/chrome/renderer/extensions/extension_dispatcher.h |
index 4e8736645313c3fb4a162bde205b3b267ac6aad9..daaeea86e0b71353c7cdb12d2902b870b8486a62 100644 |
--- a/chrome/renderer/extensions/extension_dispatcher.h |
+++ b/chrome/renderer/extensions/extension_dispatcher.h |
@@ -105,12 +105,6 @@ class ExtensionDispatcher : public content::RenderProcessObserver { |
const std::string& response, |
const std::string& error); |
- // Checks that the current context contains an extension that has permission |
- // to execute the specified function. If it does not, a v8 exception is thrown |
- // and the method returns false. Otherwise returns true. |
- bool CheckCurrentContextAccessToExtensionAPI( |
- const std::string& function_name) const; |
- |
private: |
friend class RenderViewTest; |
typedef void (*BindingInstaller)(ModuleSystem* module_system, |