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

Unified Diff: chrome_frame/test/test_with_web_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 | « chrome_frame/test/navigation_test.cc ('k') | chrome_frame/test/urlmon_moniker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/test_with_web_server.cc
diff --git a/chrome_frame/test/test_with_web_server.cc b/chrome_frame/test/test_with_web_server.cc
index 68df2971daa014eefdd071e8c80d3b72929157da..2f762c3932ddadb810a5fa180db8d8b37227b211 100644
--- a/chrome_frame/test/test_with_web_server.cc
+++ b/chrome_frame/test/test_with_web_server.cc
@@ -58,7 +58,7 @@ std::string CreateHttpHeaders(CFInvocation invocation,
std::string GetMockHttpHeaders(const base::FilePath& mock_http_headers_path) {
std::string headers;
- file_util::ReadFileToString(mock_http_headers_path, &headers);
+ base::ReadFileToString(mock_http_headers_path, &headers);
return headers;
}
@@ -417,7 +417,7 @@ void MockWebServer::SendResponseHelper(
EXPECT_FALSE(headers.empty());
- EXPECT_TRUE(file_util::ReadFileToString(file_path, &body))
+ EXPECT_TRUE(base::ReadFileToString(file_path, &body))
<< "Could not read file (" << WideToUTF8(file_path.value()) << ")";
if (invocation.type() == CFInvocation::META_TAG &&
StartsWithASCII(content_type, "text/html", false)) {
« no previous file with comments | « chrome_frame/test/navigation_test.cc ('k') | chrome_frame/test/urlmon_moniker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698