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

Unified Diff: chrome/renderer/content_settings_observer.cc

Issue 7631063: Prefix all IPC messages used by src\chrome with Chrome. For e.g ChromeViewMsg_, ChromeViewHostMsg... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
Index: chrome/renderer/content_settings_observer.cc
===================================================================
--- chrome/renderer/content_settings_observer.cc (revision 97468)
+++ chrome/renderer/content_settings_observer.cc (working copy)
@@ -91,7 +91,7 @@
// time).
if (!content_blocked_[settings_type] || !resource_identifier.empty()) {
content_blocked_[settings_type] = true;
- Send(new ViewHostMsg_ContentBlocked(routing_id(), settings_type,
+ Send(new ChromeViewHostMsg_ContentBlocked(routing_id(), settings_type,
resource_identifier));
}
}
@@ -101,9 +101,9 @@
IPC_BEGIN_MESSAGE_MAP(ContentSettingsObserver, message)
// Don't swallow LoadBlockedPlugins messages, as they're sent to every
// blocked plugin.
- IPC_MESSAGE_HANDLER_GENERIC(ViewMsg_LoadBlockedPlugins,
+ IPC_MESSAGE_HANDLER_GENERIC(ChromeViewMsg_LoadBlockedPlugins,
OnLoadBlockedPlugins(); handled = false)
- IPC_MESSAGE_HANDLER(ViewMsg_SetContentSettingsForLoadingURL,
+ IPC_MESSAGE_HANDLER(ChromeViewMsg_SetContentSettingsForLoadingURL,
OnSetContentSettingsForLoadingURL)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
@@ -175,7 +175,7 @@
return false; // Uninitialized document.
bool result = false;
- Send(new ViewHostMsg_AllowDatabase(
+ Send(new ChromeViewHostMsg_AllowDatabase(
routing_id(), GURL(frame->document().securityOrigin().toString()),
GURL(frame->top()->document().securityOrigin().toString()),
name, display_name, &result));
@@ -188,7 +188,7 @@
return false; // Uninitialized document.
bool result = false;
- Send(new ViewHostMsg_AllowFileSystem(
+ Send(new ChromeViewHostMsg_AllowFileSystem(
routing_id(), GURL(frame->document().securityOrigin().toString()),
GURL(frame->top()->document().securityOrigin().toString()), &result));
return result;
@@ -216,7 +216,7 @@
return false; // Uninitialized document.
bool result = false;
- Send(new ViewHostMsg_AllowIndexedDB(
+ Send(new ChromeViewHostMsg_AllowIndexedDB(
routing_id(), GURL(frame->document().securityOrigin().toString()),
GURL(frame->top()->document().securityOrigin().toString()),
name, &result));
@@ -254,7 +254,7 @@
if (permissions != cached_storage_permissions_.end())
return permissions->second;
- Send(new ViewHostMsg_AllowDOMStorage(
+ Send(new ChromeViewHostMsg_AllowDOMStorage(
routing_id(), GURL(frame->document().securityOrigin().toString()),
GURL(frame->top()->document().securityOrigin().toString()),
local ? DOM_STORAGE_LOCAL : DOM_STORAGE_SESSION,
« no previous file with comments | « chrome/renderer/chrome_render_view_observer.cc ('k') | chrome/renderer/content_settings_observer_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698