Index: net/url_request/url_request_unittest.cc |
=================================================================== |
--- net/url_request/url_request_unittest.cc (revision 23574) |
+++ net/url_request/url_request_unittest.cc (working copy) |
@@ -665,7 +665,7 @@ |
FillBuffer(buffer.get(), buffer_size); |
FilePath temp_path; |
- EXPECT_TRUE(file_util::CreateTemporaryFileName(&temp_path)); |
+ EXPECT_TRUE(file_util::CreateTemporaryFile(&temp_path)); |
GURL temp_url = net::FilePathToFileURL(temp_path); |
file_util::WriteFile(temp_path, buffer.get(), buffer_size); |
@@ -709,7 +709,7 @@ |
FillBuffer(buffer.get(), buffer_size); |
FilePath temp_path; |
- EXPECT_TRUE(file_util::CreateTemporaryFileName(&temp_path)); |
+ EXPECT_TRUE(file_util::CreateTemporaryFile(&temp_path)); |
GURL temp_url = net::FilePathToFileURL(temp_path); |
file_util::WriteFile(temp_path, buffer.get(), buffer_size); |
@@ -752,7 +752,7 @@ |
FillBuffer(buffer.get(), buffer_size); |
FilePath temp_path; |
- EXPECT_TRUE(file_util::CreateTemporaryFileName(&temp_path)); |
+ EXPECT_TRUE(file_util::CreateTemporaryFile(&temp_path)); |
GURL temp_url = net::FilePathToFileURL(temp_path); |
file_util::WriteFile(temp_path, buffer.get(), buffer_size); |