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

Unified Diff: components/nacl/browser/nacl_browser.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/nacl/browser/nacl_browser.cc
diff --git a/components/nacl/browser/nacl_browser.cc b/components/nacl/browser/nacl_browser.cc
index 73e978c4cbae28ac2e5a83e4b364fb1e417d7fb3..2a28b7367b8848308980b2b277b82b40a8b15a97 100644
--- a/components/nacl/browser/nacl_browser.cc
+++ b/components/nacl/browser/nacl_browser.cc
@@ -88,7 +88,7 @@ void ReadCache(const base::FilePath& filename, std::string* data) {
}
void WriteCache(const base::FilePath& filename, const Pickle* pickle) {
- file_util::WriteFile(filename, static_cast<const char*>(pickle->data()),
+ base::WriteFile(filename, static_cast<const char*>(pickle->data()),
pickle->size());
}

Powered by Google App Engine
This is Rietveld 408576698