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

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

Issue 12313142: Revert 184837 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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
« no previous file with comments | « chrome/renderer/extensions/chrome_v8_extension.cc ('k') | chrome/renderer/extensions/dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/dispatcher.h
===================================================================
--- chrome/renderer/extensions/dispatcher.h (revision 184858)
+++ chrome/renderer/extensions/dispatcher.h (working copy)
@@ -120,8 +120,8 @@
// 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 CheckContextAccessToExtensionAPI(
- const std::string& function_name, ChromeV8Context* context) const;
+ bool CheckCurrentContextAccessToExtensionAPI(
+ const std::string& function_name) const;
private:
friend class RenderViewTest;
@@ -189,9 +189,6 @@
void RegisterNativeHandlers(ModuleSystem* module_system,
ChromeV8Context* context);
- void RegisterSchemaGeneratedBindings(ModuleSystem* module_system,
- ChromeV8Context* context,
- v8::Handle<v8::Context> v8_context);
// Inserts static source code into |source_map_|.
void PopulateSourceMap();
@@ -214,11 +211,6 @@
int extension_group,
const ExtensionURLInfo& url_info);
- // Gets |field| from |object| or creates it as an empty object if it doesn't
- // exist.
- v8::Handle<v8::Object> GetOrCreateObject(v8::Handle<v8::Object> object,
- const std::string& field);
-
// True if this renderer is running extensions.
bool is_extension_process_;
« no previous file with comments | « chrome/renderer/extensions/chrome_v8_extension.cc ('k') | chrome/renderer/extensions/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698