diff options
Diffstat (limited to 'chrome_frame/test/test_with_web_server.cc')
-rw-r--r-- | chrome_frame/test/test_with_web_server.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome_frame/test/test_with_web_server.cc b/chrome_frame/test/test_with_web_server.cc index 68df297..2f762c3 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)) { |