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 { |