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

Unified Diff: chrome/browser/net/crl_set_fetcher.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
« no previous file with comments | « chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc ('k') | chrome/browser/net/firefox_proxy_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/crl_set_fetcher.cc
diff --git a/chrome/browser/net/crl_set_fetcher.cc b/chrome/browser/net/crl_set_fetcher.cc
index 95fbfd3294ce3d28b78d026300a42caa9efd43ea..464d0d1245bc6f2ae2964bb61ce2312f077d5b3a 100644
--- a/chrome/browser/net/crl_set_fetcher.cc
+++ b/chrome/browser/net/crl_set_fetcher.cc
@@ -74,7 +74,7 @@ void CRLSetFetcher::LoadFromDisk(base::FilePath path,
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
std::string crl_set_bytes;
- if (!file_util::ReadFileToString(path, &crl_set_bytes))
+ if (!base::ReadFileToString(path, &crl_set_bytes))
return;
if (!net::CRLSet::Parse(crl_set_bytes, out_crl_set)) {
@@ -153,7 +153,7 @@ bool CRLSetFetcher::Install(const base::DictionaryValue& manifest,
return true;
std::string crl_set_bytes;
- if (!file_util::ReadFileToString(crl_set_file_path, &crl_set_bytes)) {
+ if (!base::ReadFileToString(crl_set_file_path, &crl_set_bytes)) {
LOG(WARNING) << "Failed to find crl-set file inside CRX";
return false;
}
« no previous file with comments | « chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc ('k') | chrome/browser/net/firefox_proxy_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698