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

Unified Diff: components/autofill/core/browser/data_driven_test.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
Index: components/autofill/core/browser/data_driven_test.cc
diff --git a/components/autofill/core/browser/data_driven_test.cc b/components/autofill/core/browser/data_driven_test.cc
index 3218b17ec007c99555dc768216f7f50f61b867f1..757ddbb136d2162e11c14636a8b90f39b685bd70 100644
--- a/components/autofill/core/browser/data_driven_test.cc
+++ b/components/autofill/core/browser/data_driven_test.cc
@@ -24,8 +24,8 @@ bool ReadFile(const base::FilePath& file, std::string* content) {
// Write |content| to |file|. Returns true on success.
bool WriteFile(const base::FilePath& file, const std::string& content) {
- int write_size = file_util::WriteFile(file, content.c_str(),
- static_cast<int>(content.length()));
+ int write_size = base::WriteFile(file, content.c_str(),
+ static_cast<int>(content.length()));
return write_size == static_cast<int>(content.length());
}

Powered by Google App Engine
This is Rietveld 408576698