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

Unified Diff: chrome/browser/renderer_host/render_view_host.cc

Issue 42680: Add more of the server-side plumbing for extension APIs. Also (Closed)
Patch Set: Introduce SyncExtensionFunction Created 11 years, 9 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/browser/renderer_host/render_view_host.h ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_view_host.cc
diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc
index e820f475b13923b46a20e3db40dddb028b1145f1..2ff4b9585117e9f29c32df73c9fddd34e86732c4 100644
--- a/chrome/browser/renderer_host/render_view_host.cc
+++ b/chrome/browser/renderer_host/render_view_host.cc
@@ -99,7 +99,7 @@ RenderViewHost::RenderViewHost(SiteInstance* instance,
has_unload_listener_(false),
is_waiting_for_unload_ack_(false),
are_javascript_messages_suppressed_(false),
- ALLOW_THIS_IN_INITIALIZER_LIST(extension_api_handler_(this)) {
+ ALLOW_THIS_IN_INITIALIZER_LIST(extension_function_dispatcher_(this)) {
DCHECK(instance_);
DCHECK(delegate_);
if (modal_dialog_event == NULL)
@@ -1357,7 +1357,7 @@ void RenderViewHost::OnExtensionRequest(const std::string& name,
int callback_id) {
// TODO(aa): Here is where we can check that this renderer was supposed to be
// able to call extension APIs.
- extension_api_handler_.HandleRequest(name, args, callback_id);
+ extension_function_dispatcher_.HandleRequest(name, args, callback_id);
}
void RenderViewHost::SendExtensionResponse(int callback_id,
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.h ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698