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

Unified Diff: chrome/common/ipc_message_unittest.cc

Issue 20015: Make it easier to create new IPC channel types (i.e. renderer/plugin). Inste... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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 | « chrome/common/ipc_message_macros.h ('k') | chrome/common/ipc_message_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/ipc_message_unittest.cc
===================================================================
--- chrome/common/ipc_message_unittest.cc (revision 9103)
+++ chrome/common/ipc_message_unittest.cc (working copy)
@@ -20,11 +20,11 @@
for (size_t i = 0; i < arraysize(serialize_cases); i++) {
GURL input(serialize_cases[i]);
IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
- IPC::ParamTraits<GURL>::Write(&msg, input);
+ ParamTraits<GURL>::Write(&msg, input);
GURL output;
void* iter = NULL;
- EXPECT_TRUE(IPC::ParamTraits<GURL>::Read(&msg, &iter, &output));
+ EXPECT_TRUE(ParamTraits<GURL>::Read(&msg, &iter, &output));
// We want to test each component individually to make sure its range was
// correctly serialized and deserialized, not just the spec.
@@ -45,6 +45,6 @@
msg.WriteInt(99);
GURL output;
void* iter = NULL;
- EXPECT_FALSE(IPC::ParamTraits<GURL>::Read(&msg, &iter, &output));
+ EXPECT_FALSE(ParamTraits<GURL>::Read(&msg, &iter, &output));
}
« no previous file with comments | « chrome/common/ipc_message_macros.h ('k') | chrome/common/ipc_message_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698