summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-03 17:55:52 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-03 17:55:52 +0000
commit03d9afc0b775748203170a27014a3ee3500aecc2 (patch)
treed911fe4a8ffa53ef58c25689011036399f327b16 /chrome_frame
parente7a32a13a89efea50f38288ebeadbc3189d971de (diff)
downloadchromium_src-03d9afc0b775748203170a27014a3ee3500aecc2.zip
chromium_src-03d9afc0b775748203170a27014a3ee3500aecc2.tar.gz
chromium_src-03d9afc0b775748203170a27014a3ee3500aecc2.tar.bz2
Move temp file functions to base namespace.
BUG= Review URL: https://codereview.chromium.org/99923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238427 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/crash_reporting/minidump_test.cc2
-rw-r--r--chrome_frame/test/navigation_test.cc2
-rw-r--r--chrome_frame/test/net/fake_external_tab.cc2
-rw-r--r--chrome_frame/test/perf/chrome_frame_perftest.cc2
-rw-r--r--chrome_frame/test/ui_test.cc2
5 files changed, 5 insertions, 5 deletions
diff --git a/chrome_frame/crash_reporting/minidump_test.cc b/chrome_frame/crash_reporting/minidump_test.cc
index d8aa653..9702ba1 100644
--- a/chrome_frame/crash_reporting/minidump_test.cc
+++ b/chrome_frame/crash_reporting/minidump_test.cc
@@ -57,7 +57,7 @@ class MinidumpTest: public testing::Test {
ASSERT_TRUE(urlmon != NULL);
ASSERT_TRUE(::FreeLibrary(urlmon));
- ASSERT_TRUE(file_util::CreateTemporaryFile(&dump_file_));
+ ASSERT_TRUE(base::CreateTemporaryFile(&dump_file_));
dump_file_handle_.Set(::CreateFile(dump_file_.value().c_str(),
GENERIC_WRITE | GENERIC_READ,
0,
diff --git a/chrome_frame/test/navigation_test.cc b/chrome_frame/test/navigation_test.cc
index fca132c..78db862 100644
--- a/chrome_frame/test/navigation_test.cc
+++ b/chrome_frame/test/navigation_test.cc
@@ -844,7 +844,7 @@ TEST_F(FullTabDownloadTest, CF_DownloadFileFromPost) {
EXPECT_CALL(download_window_mock, OnQuit()).Times(testing::AtMost(1));
base::FilePath temp_file_path;
- ASSERT_TRUE(file_util::CreateTemporaryFile(&temp_file_path));
+ ASSERT_TRUE(base::CreateTemporaryFile(&temp_file_path));
file_util::DieFileDie(temp_file_path, false);
temp_file_path = temp_file_path.ReplaceExtension(L"txt");
diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc
index b38e8c9..9bac14d 100644
--- a/chrome_frame/test/net/fake_external_tab.cc
+++ b/chrome_frame/test/net/fake_external_tab.cc
@@ -899,7 +899,7 @@ void CFUrlRequestUnittestRunner::PostDestroyThreads() {
}
void CFUrlRequestUnittestRunner::StartFileLogger() {
- if (file_util::CreateTemporaryFile(&log_file_)) {
+ if (base::CreateTemporaryFile(&log_file_)) {
file_logger_.reset(new logging_win::FileLogger());
file_logger_->Initialize();
file_logger_->StartLogging(log_file_);
diff --git a/chrome_frame/test/perf/chrome_frame_perftest.cc b/chrome_frame/test/perf/chrome_frame_perftest.cc
index 31f9ac1..5f1a0f1 100644
--- a/chrome_frame/test/perf/chrome_frame_perftest.cc
+++ b/chrome_frame/test/perf/chrome_frame_perftest.cc
@@ -1340,7 +1340,7 @@ class EtwPerfSession {
// To ensure there is no session leftover from crashes, previous runs, etc.
base::win::EtwTraceProperties ignore;
base::win::EtwTraceController::Stop(L"cf_perf", &ignore);
- ASSERT_TRUE(file_util::CreateTemporaryFile(&etl_log_file_));
+ ASSERT_TRUE(base::CreateTemporaryFile(&etl_log_file_));
ASSERT_HRESULT_SUCCEEDED(controller_.StartFileSession(L"cf_perf",
etl_log_file_.value().c_str(), false));
ASSERT_HRESULT_SUCCEEDED(controller_.EnableProvider(
diff --git a/chrome_frame/test/ui_test.cc b/chrome_frame/test/ui_test.cc
index 8823a2e..faab2a2 100644
--- a/chrome_frame/test/ui_test.cc
+++ b/chrome_frame/test/ui_test.cc
@@ -497,7 +497,7 @@ class ContextMenuTest : public MockIEEventSinkTest, public testing::Test {
// Get safe download name using temporary file.
base::FilePath temp_file_path;
- ASSERT_TRUE(file_util::CreateTemporaryFile(&temp_file_path));
+ ASSERT_TRUE(base::CreateTemporaryFile(&temp_file_path));
ASSERT_TRUE(file_util::DieFileDie(temp_file_path, false));
temp_file_path = temp_file_path.ReplaceExtension(file_ext);