From 33edeab42b851a5617a77caa1d65a3782a01ee7b Mon Sep 17 00:00:00 2001 From: "erikkay@chromium.org" Date: Tue, 18 Aug 2009 16:07:55 +0000 Subject: Renames the function CreateTemporaryFilename to CreateTemporaryFile and track down all callers, also removes the deprecated function that uses std::wstring. BUG=3078 (http://crbug.com/3078) TEST=run base_unittests, installer_util_unittests, net_unittests, setup_unittests, and unit_tests. Review URL: http://codereview.chromium.org/164537 Patch from Thiago Farina. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23631 0039d316-1c4b-4281-b951-d872f2087c98 --- net/url_request/url_request_unittest.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'net/url_request') diff --git a/net/url_request/url_request_unittest.cc b/net/url_request/url_request_unittest.cc index 7a56d29..93c29f2 100644 --- a/net/url_request/url_request_unittest.cc +++ b/net/url_request/url_request_unittest.cc @@ -664,7 +664,7 @@ TEST_F(URLRequestTest, FileTestFullSpecifiedRange) { 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); @@ -708,7 +708,7 @@ TEST_F(URLRequestTest, FileTestHalfSpecifiedRange) { 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); @@ -751,7 +751,7 @@ TEST_F(URLRequestTest, FileTestMultipleRanges) { 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); -- cgit v1.1