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

Unified Diff: chrome/utility/extensions/unpacker_unittest.cc

Issue 184563006: Move WriteFile and WriteFileDescriptor from file_util to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « chrome/utility/extensions/unpacker.cc ('k') | chrome/utility/image_writer/image_writer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/extensions/unpacker_unittest.cc
diff --git a/chrome/utility/extensions/unpacker_unittest.cc b/chrome/utility/extensions/unpacker_unittest.cc
index faf89ffab3fafb81502c1eda195df3b77c809560..0eedf89468378394ae500aa20f7707549fce586a 100644
--- a/chrome/utility/extensions/unpacker_unittest.cc
+++ b/chrome/utility/extensions/unpacker_unittest.cc
@@ -136,7 +136,7 @@ TEST_F(UnpackerTest, UnzipDirectoryError) {
SetupUnpacker("good_package.crx");
base::FilePath path =
temp_dir_.path().AppendASCII(kTempExtensionName);
- ASSERT_TRUE(file_util::WriteFile(path, "foo", 3));
+ ASSERT_TRUE(base::WriteFile(path, "foo", 3));
EXPECT_FALSE(unpacker_->Run());
EXPECT_TRUE(StartsWith(unpacker_->error_message(),
ASCIIToUTF16(kExpected),
« no previous file with comments | « chrome/utility/extensions/unpacker.cc ('k') | chrome/utility/image_writer/image_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698