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

Unified Diff: net/url_request/url_request_unittest.cc

Issue 16950028: Move file_util::Delete to the base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/url_request/url_fetcher_response_writer.cc ('k') | printing/backend/cups_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_unittest.cc
diff --git a/net/url_request/url_request_unittest.cc b/net/url_request/url_request_unittest.cc
index 099c5fc54004c14165b76c43b69992664d9a1f05..02878b02d7ebe1dda89413ff2b703db638653969 100644
--- a/net/url_request/url_request_unittest.cc
+++ b/net/url_request/url_request_unittest.cc
@@ -765,7 +765,7 @@ TEST_F(URLRequestTest, FileTestFullSpecifiedRange) {
EXPECT_TRUE(partial_buffer_string == d.data_received());
}
- EXPECT_TRUE(file_util::Delete(temp_path, false));
+ EXPECT_TRUE(base::Delete(temp_path, false));
}
TEST_F(URLRequestTest, FileTestHalfSpecifiedRange) {
@@ -808,7 +808,7 @@ TEST_F(URLRequestTest, FileTestHalfSpecifiedRange) {
EXPECT_TRUE(partial_buffer_string == d.data_received());
}
- EXPECT_TRUE(file_util::Delete(temp_path, false));
+ EXPECT_TRUE(base::Delete(temp_path, false));
}
TEST_F(URLRequestTest, FileTestMultipleRanges) {
@@ -839,7 +839,7 @@ TEST_F(URLRequestTest, FileTestMultipleRanges) {
EXPECT_TRUE(d.request_failed());
}
- EXPECT_TRUE(file_util::Delete(temp_path, false));
+ EXPECT_TRUE(base::Delete(temp_path, false));
}
TEST_F(URLRequestTest, InvalidUrlTest) {
« no previous file with comments | « net/url_request/url_fetcher_response_writer.cc ('k') | printing/backend/cups_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698