summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_resource
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-19 23:35:50 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-19 23:35:50 +0000
commit2ccf45c50fad0f2c3c20d95eef6d0040b565b291 (patch)
tree73eac41769a4678fcdb566e78d6e3bde7c10617c /chrome/browser/web_resource
parentda930e1b7adfb28f6895d95004c25984af627080 (diff)
downloadchromium_src-2ccf45c50fad0f2c3c20d95eef6d0040b565b291.zip
chromium_src-2ccf45c50fad0f2c3c20d95eef6d0040b565b291.tar.gz
chromium_src-2ccf45c50fad0f2c3c20d95eef6d0040b565b291.tar.bz2
Prefix all IPC messages used by src\chrome with Chrome. For e.g ChromeViewMsg_, ChromeViewHostMsg, etc.
This makes it easier to identify which messages are specific to content and chrome. This is a preparation CL for bug http://code.google.com/p/chromium/issues/detail?id=87335 which requires IPC's to not span across content and chrome. When IPC's cross these boundaries they need to be handled as API calls. BUG=87335 Review URL: http://codereview.chromium.org/7631063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97536 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/web_resource')
-rw-r--r--chrome/browser/web_resource/web_resource_service.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/web_resource/web_resource_service.cc b/chrome/browser/web_resource/web_resource_service.cc
index 3c84ab3..371a520 100644
--- a/chrome/browser/web_resource/web_resource_service.cc
+++ b/chrome/browser/web_resource/web_resource_service.cc
@@ -156,9 +156,9 @@ class WebResourceService::UnpackerClient : public UtilityProcessHost::Client {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP_EX(WebResourceService::UnpackerClient, message,
msg_is_ok)
- IPC_MESSAGE_HANDLER(UtilityHostMsg_UnpackWebResource_Succeeded,
+ IPC_MESSAGE_HANDLER(ChromeUtilityHostMsg_UnpackWebResource_Succeeded,
OnUnpackWebResourceSucceeded)
- IPC_MESSAGE_HANDLER(UtilityHostMsg_UnpackWebResource_Failed,
+ IPC_MESSAGE_HANDLER(ChromeUtilityHostMsg_UnpackWebResource_Failed,
OnUnpackWebResourceFailed)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP_EX()
@@ -197,7 +197,7 @@ class WebResourceService::UnpackerClient : public UtilityProcessHost::Client {
UtilityProcessHost* host = new UtilityProcessHost(this, thread_id);
// TODO(mrc): get proper file path when we start using web resources
// that need to be unpacked.
- host->Send(new UtilityMsg_UnpackWebResource(json_data_));
+ host->Send(new ChromeUtilityMsg_UnpackWebResource(json_data_));
}
scoped_refptr<WebResourceService> web_resource_service_;