From ea1a3f60aa4527939af680eda25c7697901f643c Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Fri, 16 Nov 2012 20:34:23 +0000 Subject: Move scoped_temp_dir from base to base/files Also add to base namespace. BUG= Review URL: https://codereview.chromium.org/11359217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168281 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/fileapi/obfuscated_file_util_unittest.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'webkit/fileapi/obfuscated_file_util_unittest.cc') diff --git a/webkit/fileapi/obfuscated_file_util_unittest.cc b/webkit/fileapi/obfuscated_file_util_unittest.cc index df2ad66..afb5efd 100644 --- a/webkit/fileapi/obfuscated_file_util_unittest.cc +++ b/webkit/fileapi/obfuscated_file_util_unittest.cc @@ -9,10 +9,10 @@ #include "base/bind.h" #include "base/file_path.h" #include "base/file_util.h" +#include "base/files/scoped_temp_dir.h" #include "base/memory/scoped_ptr.h" #include "base/message_loop.h" #include "base/platform_file.h" -#include "base/scoped_temp_dir.h" #include "base/sys_string_conversions.h" #include "testing/gtest/include/gtest/gtest.h" #include "webkit/fileapi/file_system_context.h" @@ -495,7 +495,7 @@ class ObfuscatedFileUtilTest : public testing::Test { } void TestCopyInForeignFileHelper(bool overwrite) { - ScopedTempDir source_dir; + base::ScopedTempDir source_dir; ASSERT_TRUE(source_dir.CreateUniqueTempDir()); FilePath root_file_path = source_dir.path(); FilePath src_file_path = root_file_path.AppendASCII("file_name"); @@ -634,7 +634,7 @@ class ObfuscatedFileUtilTest : public testing::Test { } private: - ScopedTempDir data_dir_; + base::ScopedTempDir data_dir_; MessageLoop message_loop_; ObfuscatedFileUtil* obfuscated_file_util_; scoped_refptr quota_manager_; @@ -1412,7 +1412,7 @@ TEST_F(ObfuscatedFileUtilTest, TestEnumerator) { } TEST_F(ObfuscatedFileUtilTest, TestMigration) { - ScopedTempDir source_dir; + base::ScopedTempDir source_dir; ASSERT_TRUE(source_dir.CreateUniqueTempDir()); FilePath root_path = source_dir.path().AppendASCII("chrome-pLmnMWXE7NzTFRsn"); ASSERT_TRUE(file_util::CreateDirectory(root_path)); -- cgit v1.1