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

Unified Diff: net/url_request/url_fetcher_impl_unittest.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/tools/tld_cleanup/tld_cleanup_util.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_fetcher_impl_unittest.cc
diff --git a/net/url_request/url_fetcher_impl_unittest.cc b/net/url_request/url_fetcher_impl_unittest.cc
index 7cc1674b181b1453cf48af66a866202a660d84c1..62f627258dbce727d50cac1f9bd1da98a828be6c 100644
--- a/net/url_request/url_fetcher_impl_unittest.cc
+++ b/net/url_request/url_fetcher_impl_unittest.cc
@@ -555,7 +555,7 @@ void URLFetcherPostFileTest::CreateFetcher(const GURL& url) {
void URLFetcherPostFileTest::OnURLFetchComplete(const URLFetcher* source) {
std::string expected;
- ASSERT_TRUE(file_util::ReadFileToString(path_, &expected));
+ ASSERT_TRUE(base::ReadFileToString(path_, &expected));
ASSERT_LE(range_offset_, expected.size());
uint64 expected_size =
std::min(range_length_, expected.size() - range_offset_);
« no previous file with comments | « net/tools/tld_cleanup/tld_cleanup_util.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698