diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-14 00:24:27 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-14 00:24:27 +0000 |
commit | d520764377e3dd5766e65a1535446f04b1e2e555 (patch) | |
tree | 2c35897ed7d6d1c379e7b379d8336847301c9220 /chrome/browser/worker_host | |
parent | 193f5a77eb0f7b5887ba14010f7b9148e923e853 (diff) | |
download | chromium_src-d520764377e3dd5766e65a1535446f04b1e2e555.zip chromium_src-d520764377e3dd5766e65a1535446f04b1e2e555.tar.gz chromium_src-d520764377e3dd5766e65a1535446f04b1e2e555.tar.bz2 |
Rename ResourceMessageFilter to RenderMessageFilter, since that's what it actually is. I will add a ResourceMessageFilter just for resource IPCs in a future change.
Review URL: http://codereview.chromium.org/5701004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69076 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/worker_host')
-rw-r--r-- | chrome/browser/worker_host/message_port_dispatcher.cc | 4 | ||||
-rw-r--r-- | chrome/browser/worker_host/worker_process_host.cc | 6 | ||||
-rw-r--r-- | chrome/browser/worker_host/worker_service.cc | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/worker_host/message_port_dispatcher.cc b/chrome/browser/worker_host/message_port_dispatcher.cc index 4d2782f..1be8369 100644 --- a/chrome/browser/worker_host/message_port_dispatcher.cc +++ b/chrome/browser/worker_host/message_port_dispatcher.cc @@ -6,7 +6,7 @@ #include "base/callback.h" #include "base/singleton.h" -#include "chrome/browser/renderer_host/resource_message_filter.h" +#include "chrome/browser/renderer_host/render_message_filter.h" #include "chrome/browser/worker_host/worker_process_host.h" #include "chrome/common/notification_service.h" #include "chrome/common/worker_messages.h" @@ -258,7 +258,7 @@ void MessagePortDispatcher::Observe(NotificationType type, const NotificationDetails& details) { IPC::Message::Sender* sender = NULL; if (type.value == NotificationType::RESOURCE_MESSAGE_FILTER_SHUTDOWN) { - sender = Source<ResourceMessageFilter>(source).ptr(); + sender = Source<RenderMessageFilter>(source).ptr(); } else if (type.value == NotificationType::WORKER_PROCESS_HOST_SHUTDOWN) { sender = Source<WorkerProcessHost>(source).ptr(); } else { diff --git a/chrome/browser/worker_host/worker_process_host.cc b/chrome/browser/worker_host/worker_process_host.cc index f26059d..d4821bd 100644 --- a/chrome/browser/worker_host/worker_process_host.cc +++ b/chrome/browser/worker_host/worker_process_host.cc @@ -23,10 +23,10 @@ #include "chrome/browser/renderer_host/blob_message_filter.h" #include "chrome/browser/renderer_host/database_message_filter.h" #include "chrome/browser/renderer_host/file_utilities_message_filter.h" +#include "chrome/browser/renderer_host/render_message_filter.h" #include "chrome/browser/renderer_host/render_view_host.h" #include "chrome/browser/renderer_host/render_view_host_delegate.h" #include "chrome/browser/renderer_host/render_view_host_notification_task.h" -#include "chrome/browser/renderer_host/resource_message_filter.h" #include "chrome/browser/worker_host/message_port_dispatcher.h" #include "chrome/browser/worker_host/worker_service.h" #include "chrome/common/chrome_switches.h" @@ -352,8 +352,8 @@ CallbackWithReturnValue<int>::Type* WorkerProcessHost::GetNextRouteIdCallback( return worker->next_route_id_callback_.get(); } - // Must be a ResourceMessageFilter. - return static_cast<ResourceMessageFilter*>(sender)->next_route_id_callback(); + // Must be a RenderMessageFilter. + return static_cast<RenderMessageFilter*>(sender)->next_route_id_callback(); } void WorkerProcessHost::RelayMessage( diff --git a/chrome/browser/worker_host/worker_service.cc b/chrome/browser/worker_host/worker_service.cc index 71d4abb..e623db1 100644 --- a/chrome/browser/worker_host/worker_service.cc +++ b/chrome/browser/worker_host/worker_service.cc @@ -12,8 +12,8 @@ #include "base/thread.h" #include "chrome/browser/content_settings/host_content_settings_map.h" #include "chrome/browser/plugin_service.h" +#include "chrome/browser/renderer_host/render_message_filter.h" #include "chrome/browser/renderer_host/render_process_host.h" -#include "chrome/browser/renderer_host/resource_message_filter.h" #include "chrome/browser/worker_host/worker_process_host.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/notification_service.h" @@ -445,7 +445,7 @@ void WorkerService::Observe(NotificationType type, const NotificationSource& source, const NotificationDetails& details) { if (type.value == NotificationType::RESOURCE_MESSAGE_FILTER_SHUTDOWN) { - ResourceMessageFilter* sender = Source<ResourceMessageFilter>(source).ptr(); + RenderMessageFilter* sender = Source<RenderMessageFilter>(source).ptr(); SenderShutdown(sender); } else if (type.value == NotificationType::WORKER_PROCESS_HOST_SHUTDOWN) { WorkerProcessHost* sender = Source<WorkerProcessHost>(source).ptr(); |