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

Unified Diff: ipc/ipc_message_unittest.cc

Issue 57783006: Revert https://src.chromium.org/viewvc/chrome?view=rev&revision=231330 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile (cc perftest). Created 7 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
« no previous file with comments | « ipc/ipc_message_macros.h ('k') | ipc/ipc_message_utils_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_message_unittest.cc
diff --git a/ipc/ipc_message_unittest.cc b/ipc/ipc_message_unittest.cc
index e5215ce32430e4da3dbfeb69dc966a54c00b230e..971314a290c06414722135ca08b281f419ca1ee8 100644
--- a/ipc/ipc_message_unittest.cc
+++ b/ipc/ipc_message_unittest.cc
@@ -19,7 +19,7 @@ TEST(IPCMessageTest, ListValue) {
input.Set(1, new base::StringValue("forty"));
input.Set(2, base::Value::CreateNullValue());
- IPC::Message msg(1, 2);
+ IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
IPC::WriteParam(&msg, input);
base::ListValue output;
@@ -29,7 +29,7 @@ TEST(IPCMessageTest, ListValue) {
EXPECT_TRUE(input.Equals(&output));
// Also test the corrupt case.
- IPC::Message bad_msg(1, 2);
+ IPC::Message bad_msg(1, 2, IPC::Message::PRIORITY_NORMAL);
bad_msg.WriteInt(99);
iter = PickleIterator(bad_msg);
EXPECT_FALSE(IPC::ReadParam(&bad_msg, &iter, &output));
@@ -54,7 +54,7 @@ TEST(IPCMessageTest, DictionaryValue) {
input.Set("dict", subdict.release());
- IPC::Message msg(1, 2);
+ IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
IPC::WriteParam(&msg, input);
base::DictionaryValue output;
@@ -64,7 +64,7 @@ TEST(IPCMessageTest, DictionaryValue) {
EXPECT_TRUE(input.Equals(&output));
// Also test the corrupt case.
- IPC::Message bad_msg(1, 2);
+ IPC::Message bad_msg(1, 2, IPC::Message::PRIORITY_NORMAL);
bad_msg.WriteInt(99);
iter = PickleIterator(bad_msg);
EXPECT_FALSE(IPC::ReadParam(&bad_msg, &iter, &output));
« no previous file with comments | « ipc/ipc_message_macros.h ('k') | ipc/ipc_message_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698