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

Unified Diff: content/test/net/url_request_mock_http_job.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 | « content/test/image_decoder_test.cc ('k') | courgette/base_test_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/net/url_request_mock_http_job.cc
diff --git a/content/test/net/url_request_mock_http_job.cc b/content/test/net/url_request_mock_http_job.cc
index 9927960e04e28437df4deefbe1b1baf532938f14..b06f6b474d381e5c313442640bfaaee6731dc26b 100644
--- a/content/test/net/url_request_mock_http_job.cc
+++ b/content/test/net/url_request_mock_http_job.cc
@@ -144,7 +144,7 @@ void URLRequestMockHTTPJob::GetResponseInfoConst(
base::FilePath header_file =
base::FilePath(file_path_.value() + kMockHeaderFileSuffix);
std::string raw_headers;
- if (!file_util::ReadFileToString(header_file, &raw_headers))
+ if (!base::ReadFileToString(header_file, &raw_headers))
return;
// ParseRawHeaders expects \0 to end each header line.
« no previous file with comments | « content/test/image_decoder_test.cc ('k') | courgette/base_test_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698