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

Unified Diff: chrome/browser/chromeos/policy/user_policy_disk_cache.cc

Issue 19579005: Move ReadFileToString to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/chromeos/policy/user_policy_disk_cache.cc
diff --git a/chrome/browser/chromeos/policy/user_policy_disk_cache.cc b/chrome/browser/chromeos/policy/user_policy_disk_cache.cc
index bb93e8972296a6bd109f62faa335cbb22c007aa8..e9249cd3f322b2387ea450d34e7c5979212c60c3 100644
--- a/chrome/browser/chromeos/policy/user_policy_disk_cache.cc
+++ b/chrome/browser/chromeos/policy/user_policy_disk_cache.cc
@@ -73,7 +73,7 @@ void UserPolicyDiskCache::LoadOnFileThread() {
// Read the protobuf from the file.
std::string data;
- if (!file_util::ReadFileToString(backing_file_path_, &data)) {
+ if (!base::ReadFileToString(backing_file_path_, &data)) {
LOG(WARNING) << "Failed to read policy data from "
<< backing_file_path_.value();
LoadDone(LOAD_RESULT_READ_ERROR, cached_response);

Powered by Google App Engine
This is Rietveld 408576698