Index: chrome/renderer/extensions/chrome_v8_extension.h |
diff --git a/chrome/renderer/extensions/chrome_v8_extension.h b/chrome/renderer/extensions/chrome_v8_extension.h |
index 0b6d20c91b9ad3c8b203d0ffb4ab85a0834d6889..a2fe7422376e7fe94bb8c666a8544f0137cc0a72 100644 |
--- a/chrome/renderer/extensions/chrome_v8_extension.h |
+++ b/chrome/renderer/extensions/chrome_v8_extension.h |
@@ -80,7 +80,7 @@ class ChromeV8Extension : public v8::Extension { |
// 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 CheckPermissionForCurrentRenderView( |
+ bool CheckCurrentContextAccessToExtensionAPI( |
const std::string& function_name) const; |
// Create a handler for |context|. If a subclass of ChromeV8Extension wishes |