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

Unified Diff: chrome/renderer/extensions/extension_dispatcher.h

Issue 10025007: Convert tabs, windows, and extension APIs to feature system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove obsolete special cases from ExtensionPermissionSet 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/extensions/extension_dispatcher.h
diff --git a/chrome/renderer/extensions/extension_dispatcher.h b/chrome/renderer/extensions/extension_dispatcher.h
index 0b0eb2530bb64342809e50d43eb0ddfbbdb860d0..86ffb9b57708bc437ef7061b67fc9fa59097888c 100644
--- a/chrome/renderer/extensions/extension_dispatcher.h
+++ b/chrome/renderer/extensions/extension_dispatcher.h
@@ -108,12 +108,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,

Powered by Google App Engine
This is Rietveld 408576698