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

Unified Diff: chrome/browser/component_updater/test/component_patcher_unittest.cc

Issue 19052005: Move PathIsWritable, DirectoryExists, ContentsEqual, and TextContentsEqual to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
Index: chrome/browser/component_updater/test/component_patcher_unittest.cc
diff --git a/chrome/browser/component_updater/test/component_patcher_unittest.cc b/chrome/browser/component_updater/test/component_patcher_unittest.cc
index f9933b363fc9f3a13c97a7ccdae1a9a076836c76..f121fc0b4d4727a4c8ee2885eac56f409514b6b4 100644
--- a/chrome/browser/component_updater/test/component_patcher_unittest.cc
+++ b/chrome/browser/component_updater/test/component_patcher_unittest.cc
@@ -85,7 +85,7 @@ TEST_F(ComponentPatcherOperationTest, CheckCreateOperation) {
EXPECT_EQ(ComponentUnpacker::kNone, result);
EXPECT_EQ(0, error);
- EXPECT_TRUE(file_util::ContentsEqual(
+ EXPECT_TRUE(base::ContentsEqual(
unpack_dir_.path().Append(FILE_PATH_LITERAL("output.bin")),
test_file("binary_output.bin")));
}
@@ -112,7 +112,7 @@ TEST_F(ComponentPatcherOperationTest, CheckCopyOperation) {
&error);
EXPECT_EQ(ComponentUnpacker::kNone, result);
EXPECT_EQ(0, error);
- EXPECT_TRUE(file_util::ContentsEqual(
+ EXPECT_TRUE(base::ContentsEqual(
unpack_dir_.path().Append(FILE_PATH_LITERAL("output.bin")),
test_file("binary_output.bin")));
}

Powered by Google App Engine
This is Rietveld 408576698