diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-05 19:08:32 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-05 19:08:32 +0000 |
commit | 94dc971dc40c6cfea33abd234e744ac314d0bc2a (patch) | |
tree | 0f2f3f0b57dfdb01c65afc6833e7ad622eb85697 /content/browser/plugin_process_host.cc | |
parent | a14ea34921d1347ceca1c8ddaa6dc1cf6efb1ddb (diff) | |
download | chromium_src-94dc971dc40c6cfea33abd234e744ac314d0bc2a.zip chromium_src-94dc971dc40c6cfea33abd234e744ac314d0bc2a.tar.gz chromium_src-94dc971dc40c6cfea33abd234e744ac314d0bc2a.tar.bz2 |
Move resource related IPCs to their own file in content. I added a IPC_STRUCT_TRAITS_PARENT macro to allow the automatic serializing macros to add a parent struct.
TBR=tsepez
Review URL: http://codereview.chromium.org/6628035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77048 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/plugin_process_host.cc')
-rw-r--r-- | content/browser/plugin_process_host.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/browser/plugin_process_host.cc b/content/browser/plugin_process_host.cc index 4d1301a..355ce0e 100644 --- a/content/browser/plugin_process_host.cc +++ b/content/browser/plugin_process_host.cc @@ -38,6 +38,7 @@ #include "content/browser/plugin_service.h" #include "content/browser/renderer_host/resource_dispatcher_host.h" #include "content/browser/renderer_host/resource_message_filter.h" +#include "content/common/resource_messages.h" #include "ipc/ipc_switches.h" #include "net/base/cookie_store.h" #include "net/base/io_buffer.h" @@ -70,7 +71,7 @@ class PluginURLRequestContextOverride } virtual net::URLRequestContext* GetRequestContext( - const ViewHostMsg_Resource_Request& resource_request) { + const ResourceHostMsg_Request& resource_request) { return CPBrowsingContextManager::GetInstance()->ToURLRequestContext( resource_request.request_context); } |