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

Unified Diff: chrome/browser/extensions/api/record/record_api_test.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/extensions/api/record/record_api_test.cc
diff --git a/chrome/browser/extensions/api/record/record_api_test.cc b/chrome/browser/extensions/api/record/record_api_test.cc
index dfcda5d2396b6c56add342e9295852a937c9a205..3fd41d95132a45c1dbfd9d8f2ff7244407a2d137 100644
--- a/chrome/browser/extensions/api/record/record_api_test.cc
+++ b/chrome/browser/extensions/api/record/record_api_test.cc
@@ -106,13 +106,13 @@ class TestProcessStrategy : public ProcessStrategy {
if (command_line.HasSwitch(switches::kRecordMode)) {
base::CopyFile(url_path, url_path_copy);
} else {
- if (!file_util::ContentsEqual(url_path, url_path_copy)) {
+ if (!base::ContentsEqual(url_path, url_path_copy)) {
std::string contents1, contents2;
file_util::ReadFileToString(url_path, &contents1);
file_util::ReadFileToString(url_path_copy, &contents2);
LOG(ERROR) << "FILE MISMATCH" << contents1 << " VS " << contents2;
}
- EXPECT_TRUE(file_util::ContentsEqual(url_path, url_path_copy));
+ EXPECT_TRUE(base::ContentsEqual(url_path, url_path_copy));
}
}

Powered by Google App Engine
This is Rietveld 408576698