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

Unified Diff: chrome/installer/util/delete_tree_work_item_unittest.cc

Issue 11359217: Move scoped_temp_dir from base to base/files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
Index: chrome/installer/util/delete_tree_work_item_unittest.cc
diff --git a/chrome/installer/util/delete_tree_work_item_unittest.cc b/chrome/installer/util/delete_tree_work_item_unittest.cc
index 239e098828134b08fe7631a9464537145139499e..e2b601d2cf1c7d430315fdab7d5b455914d0114b 100644
--- a/chrome/installer/util/delete_tree_work_item_unittest.cc
+++ b/chrome/installer/util/delete_tree_work_item_unittest.cc
@@ -8,11 +8,11 @@
#include "base/base_paths.h"
#include "base/file_util.h"
+#include "base/files/scoped_temp_dir.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/path_service.h"
#include "base/process_util.h"
-#include "base/scoped_temp_dir.h"
#include "base/string_util.h"
#include "chrome/installer/util/delete_tree_work_item.h"
#include "chrome/installer/util/work_item.h"
@@ -26,7 +26,7 @@ namespace {
}
// The temporary directory used to contain the test operations.
- ScopedTempDir temp_dir_;
+ base::ScopedTempDir temp_dir_;
};
// Simple function to dump some text into a new file.
@@ -72,7 +72,7 @@ TEST_F(DeleteTreeWorkItemTest, DeleteTreeNoKeyPath) {
ASSERT_TRUE(file_util::PathExists(file_name_delete_2));
// Test Do().
- ScopedTempDir temp_dir;
+ base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
std::vector<FilePath> key_files;
@@ -124,7 +124,7 @@ TEST_F(DeleteTreeWorkItemTest, DeleteTree) {
ASSERT_TRUE(file_util::PathExists(file_name_delete_2));
// test Do()
- ScopedTempDir temp_dir;
+ base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
std::vector<FilePath> key_files(1, file_name_delete_1);
@@ -197,7 +197,7 @@ TEST_F(DeleteTreeWorkItemTest, DeleteTreeInUse) {
// test Do().
{
- ScopedTempDir temp_dir;
+ base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
std::vector<FilePath> key_paths(1, key_path);
« no previous file with comments | « chrome/installer/util/delete_tree_work_item.cc ('k') | chrome/installer/util/duplicate_tree_detector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698