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

Unified Diff: content/common/resource_messages.cc

Issue 1350823002: Revert of Reland #2 "ipc: Add a new field num_brokered_attachments to the message header." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « content/common/resource_messages.h ('k') | ipc/ipc_channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/resource_messages.cc
diff --git a/content/common/resource_messages.cc b/content/common/resource_messages.cc
index c4169ba6454e6914ca29983f850b1bf75ccd8a70..9cadbfffd7f2cec29e134f80a85c27d49d851b96 100644
--- a/content/common/resource_messages.cc
+++ b/content/common/resource_messages.cc
@@ -4,24 +4,8 @@
#include "content/common/resource_messages.h"
-#include "base/debug/alias.h"
-#include "ipc/ipc_message.h"
#include "net/base/load_timing_info.h"
#include "net/http/http_response_headers.h"
-
-namespace content {
-// TODO(erikchen): Temporary code to help track http://crbug.com/527588.
-void CheckContentsOfDataReceivedMessage(const IPC::Message* message) {
- if (message->type() != ResourceMsg_DataReceived::ID)
- return;
- ResourceMsg_DataReceived::Schema::Param arg;
- bool success = ResourceMsg_DataReceived::Read(message, &arg);
- CHECK(success);
- int data_offset = base::get<1>(arg);
- CHECK_LE(data_offset, 512 * 1024);
- base::debug::Alias(&data_offset);
-}
-}
namespace IPC {
« no previous file with comments | « content/common/resource_messages.h ('k') | ipc/ipc_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698