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

Unified Diff: chrome/installer/util/self_cleaning_temp_dir_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
« no previous file with comments | « chrome/installer/util/self_cleaning_temp_dir.cc ('k') | chrome/installer/util/shell_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/self_cleaning_temp_dir_unittest.cc
diff --git a/chrome/installer/util/self_cleaning_temp_dir_unittest.cc b/chrome/installer/util/self_cleaning_temp_dir_unittest.cc
index 3cc38789f927d0af92885bb8dd33be798bdcd364..e49c22815a88766eedfa437a9cfa2844bafc94c1 100644
--- a/chrome/installer/util/self_cleaning_temp_dir_unittest.cc
+++ b/chrome/installer/util/self_cleaning_temp_dir_unittest.cc
@@ -6,7 +6,7 @@
#include <wincrypt.h>
#include "base/file_util.h"
-#include "base/scoped_temp_dir.h"
+#include "base/files/scoped_temp_dir.h"
#include "base/string_number_conversions.h"
#include "base/utf_string_conversions.h"
#include "chrome/installer/util/self_cleaning_temp_dir.h"
@@ -66,7 +66,7 @@ TEST_F(SelfCleaningTempDirTest, TopLevelPlusOne) {
// Delete() is called.
TEST_F(SelfCleaningTempDirTest, RemoveUnusedOnDelete) {
// Make a directory in which we'll work.
- ScopedTempDir work_dir;
+ base::ScopedTempDir work_dir;
EXPECT_TRUE(work_dir.CreateUniqueTempDir());
// Make up some path under the temp dir.
@@ -87,7 +87,7 @@ TEST_F(SelfCleaningTempDirTest, RemoveUnusedOnDelete) {
// Test that two clients can work in the same area.
TEST_F(SelfCleaningTempDirTest, TwoClients) {
// Make a directory in which we'll work.
- ScopedTempDir work_dir;
+ base::ScopedTempDir work_dir;
EXPECT_TRUE(work_dir.CreateUniqueTempDir());
// Make up some path under the temp dir.
@@ -124,7 +124,7 @@ TEST_F(SelfCleaningTempDirTest, TwoClients) {
// destructor is called.
TEST_F(SelfCleaningTempDirTest, RemoveUnusedOnDestroy) {
// Make a directory in which we'll work.
- ScopedTempDir work_dir;
+ base::ScopedTempDir work_dir;
EXPECT_TRUE(work_dir.CreateUniqueTempDir());
// Make up some path under the temp dir.
@@ -149,7 +149,7 @@ TEST_F(SelfCleaningTempDirTest, LeaveUsedOnDestroy) {
static const char kHiHon[] = "hi, hon";
// Make a directory in which we'll work.
- ScopedTempDir work_dir;
+ base::ScopedTempDir work_dir;
EXPECT_TRUE(work_dir.CreateUniqueTempDir());
// Make up some path under the temp dir.
« no previous file with comments | « chrome/installer/util/self_cleaning_temp_dir.cc ('k') | chrome/installer/util/shell_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698