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

Unified Diff: ipc/ipc_message_utils_unittest.cc

Issue 12211108: Rename FilePath -> base::FilePath in various toplevel directories (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « ipc/ipc_message_utils.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_message_utils_unittest.cc
diff --git a/ipc/ipc_message_utils_unittest.cc b/ipc/ipc_message_utils_unittest.cc
index f9cb553a1f0908515d5f9ad8e5b5960a612cb9d0..47e4a604b023bae2170dc017e51eff87c1e39692 100644
--- a/ipc/ipc_message_utils_unittest.cc
+++ b/ipc/ipc_message_utils_unittest.cc
@@ -55,19 +55,19 @@ TEST(IPCMessageUtilsTest, NestedMessages) {
// Tests that detection of various bad parameters is working correctly.
TEST(IPCMessageUtilsTest, ParameterValidation) {
- FilePath::StringType ok_string(FILE_PATH_LITERAL("hello"), 5);
- FilePath::StringType bad_string(FILE_PATH_LITERAL("hel\0o"), 5);
+ base::FilePath::StringType ok_string(FILE_PATH_LITERAL("hello"), 5);
+ base::FilePath::StringType bad_string(FILE_PATH_LITERAL("hel\0o"), 5);
// Change this if ParamTraits<FilePath>::Write() changes.
IPC::Message message;
- ParamTraits<FilePath::StringType>::Write(&message, ok_string);
- ParamTraits<FilePath::StringType>::Write(&message, bad_string);
+ ParamTraits<base::FilePath::StringType>::Write(&message, ok_string);
+ ParamTraits<base::FilePath::StringType>::Write(&message, bad_string);
PickleIterator iter(message);
- FilePath ok_path;
- FilePath bad_path;
- ASSERT_TRUE(ParamTraits<FilePath>::Read(&message, &iter, &ok_path));
- ASSERT_FALSE(ParamTraits<FilePath>::Read(&message, &iter, &bad_path));
+ base::FilePath ok_path;
+ base::FilePath bad_path;
+ ASSERT_TRUE(ParamTraits<base::FilePath>::Read(&message, &iter, &ok_path));
+ ASSERT_FALSE(ParamTraits<base::FilePath>::Read(&message, &iter, &bad_path));
}
} // namespace
« no previous file with comments | « ipc/ipc_message_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698