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

Unified Diff: trunk/src/chrome/browser/chromeos/drive/file_cache.cc

Issue 105823009: Revert 239280 "Move more file_util functions to base namespace." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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: trunk/src/chrome/browser/chromeos/drive/file_cache.cc
===================================================================
--- trunk/src/chrome/browser/chromeos/drive/file_cache.cc (revision 239399)
+++ trunk/src/chrome/browser/chromeos/drive/file_cache.cc (working copy)
@@ -429,7 +429,7 @@
// Read file contents to sniff mime type.
std::vector<char> content(net::kMaxBytesToSniff);
const int read_result =
- base::ReadFile(current, &content[0], content.size());
+ file_util::ReadFile(current, &content[0], content.size());
if (read_result < 0) {
LOG(WARNING) << "Cannot read: " << current.value();
return false;

Powered by Google App Engine
This is Rietveld 408576698