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

Unified Diff: net/test/embedded_test_server/embedded_test_server.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/test/cert_test_util.cc ('k') | net/test/spawned_test_server/remote_test_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/embedded_test_server/embedded_test_server.cc
diff --git a/net/test/embedded_test_server/embedded_test_server.cc b/net/test/embedded_test_server/embedded_test_server.cc
index a54ff7e8dd89a805ed83e8ea937edb6efe5baf3a..d9196e1325465f4a5d109ba42ec03616111a1cc0 100644
--- a/net/test/embedded_test_server/embedded_test_server.cc
+++ b/net/test/embedded_test_server/embedded_test_server.cc
@@ -59,7 +59,7 @@ scoped_ptr<HttpResponse> HandleFileRequest(
base::FilePath file_path(server_root.AppendASCII(request_path));
std::string file_contents;
- if (!file_util::ReadFileToString(file_path, &file_contents))
+ if (!base::ReadFileToString(file_path, &file_contents))
return scoped_ptr<HttpResponse>();
base::FilePath headers_path(
@@ -67,7 +67,7 @@ scoped_ptr<HttpResponse> HandleFileRequest(
if (base::PathExists(headers_path)) {
std::string headers_contents;
- if (!file_util::ReadFileToString(headers_path, &headers_contents))
+ if (!base::ReadFileToString(headers_path, &headers_contents))
return scoped_ptr<HttpResponse>();
scoped_ptr<CustomHttpResponse> http_response(
« no previous file with comments | « net/test/cert_test_util.cc ('k') | net/test/spawned_test_server/remote_test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698