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

Unified Diff: chrome/common/chrome_content_client.cc

Issue 8760024: Cross-process postMessage (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month 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/common/chrome_content_client.cc
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc
index da07553e0035a9963a9ae744510393aca1742108..4edb066031d82fb275734f8456edaf6f1977ba9e 100644
--- a/chrome/common/chrome_content_client.cc
+++ b/chrome/common/chrome_content_client.cc
@@ -299,24 +299,12 @@ void ChromeContentClient::AddNPAPIPlugins(
#endif
}
-bool ChromeContentClient::CanSendWhileSwappedOut(const IPC::Message* msg) {
- // Any Chrome-specific messages that must be allowed to be sent from swapped
- // out renderers.
- switch (msg->type()) {
- case ChromeViewHostMsg_DomOperationResponse::ID:
- return true;
- default:
- break;
- }
- return false;
-}
-
bool ChromeContentClient::CanHandleWhileSwappedOut(
const IPC::Message& msg) {
- // Any Chrome-specific messages (apart from those listed in
- // CanSendWhileSwappedOut) that must be handled by the browser when sent from
- // swapped out renderers.
+ // Any Chrome-specific messages that must be handled by the browser when sent
+ // from swapped out renderers.
switch (msg.type()) {
+ case ChromeViewHostMsg_DomOperationResponse::ID:
Charlie Reis 2011/12/01 23:13:02 Is this a worthwhile change independent of the res
supersat 2011/12/09 23:08:20 It's only needed if we change about:swappedout.
Charlie Reis 2011/12/12 22:20:36 Ok. It's still there in patch set 2, so you shoul
supersat 2011/12/15 19:30:49 Done. Not sure why it wasn't in patch set 2.
case ChromeViewHostMsg_Snapshot::ID:
return true;
default:

Powered by Google App Engine
This is Rietveld 408576698