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

Unified Diff: net/cert/test_root_certs.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 | « net/cert/nss_cert_database_unittest.cc ('k') | net/dns/dns_hosts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/test_root_certs.cc
diff --git a/net/cert/test_root_certs.cc b/net/cert/test_root_certs.cc
index 3219f1d84c1bb1a7e03e6987ab7aab006da69ec7..f4958901685170b4377fed30a03f3729030a7c55 100644
--- a/net/cert/test_root_certs.cc
+++ b/net/cert/test_root_certs.cc
@@ -22,7 +22,7 @@ base::LazyInstance<TestRootCerts>::Leaky
CertificateList LoadCertificates(const base::FilePath& filename) {
std::string raw_cert;
- if (!file_util::ReadFileToString(filename, &raw_cert)) {
+ if (!base::ReadFileToString(filename, &raw_cert)) {
LOG(ERROR) << "Can't load certificate " << filename.value();
return CertificateList();
}
« no previous file with comments | « net/cert/nss_cert_database_unittest.cc ('k') | net/dns/dns_hosts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698