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

Unified Diff: chrome/installer/util/logging_installer_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/installer_state_unittest.cc ('k') | chrome/installer/util/lzma_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/logging_installer_unittest.cc
diff --git a/chrome/installer/util/logging_installer_unittest.cc b/chrome/installer/util/logging_installer_unittest.cc
index e77b046561ca0f8d3fae646ac1c29f3cb9cee29d..0a858ddec37d2a75969e632aba95dcf75dbe716f 100644
--- a/chrome/installer/util/logging_installer_unittest.cc
+++ b/chrome/installer/util/logging_installer_unittest.cc
@@ -6,8 +6,8 @@
#include "base/file_path.h"
#include "base/file_util.h"
+#include "base/files/scoped_temp_dir.h"
#include "base/platform_file.h"
-#include "base/scoped_temp_dir.h"
#include "base/win/scoped_handle.h"
#include "chrome/installer/util/logging_installer.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -15,7 +15,7 @@
TEST(LoggingInstallerTest, TestTruncate) {
const std::string test_data(installer::kMaxInstallerLogFileSize + 1, 'a');
- ScopedTempDir temp_dir;
+ base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
FilePath temp_file = temp_dir.path().Append(L"temp");
@@ -40,7 +40,7 @@ TEST(LoggingInstallerTest, TestTruncate) {
TEST(LoggingInstallerTest, TestTruncationNotNeeded) {
const std::string test_data(installer::kMaxInstallerLogFileSize, 'a');
- ScopedTempDir temp_dir;
+ base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
FilePath temp_file = temp_dir.path().Append(L"temp");
@@ -62,7 +62,7 @@ TEST(LoggingInstallerTest, TestTruncationNotNeeded) {
TEST(LoggingInstallerTest, TestInUseNeedsTruncation) {
const std::string test_data(installer::kMaxInstallerLogFileSize + 1, 'a');
- ScopedTempDir temp_dir;
+ base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
FilePath temp_file = temp_dir.path().Append(L"temp");
@@ -91,7 +91,7 @@ TEST(LoggingInstallerTest, TestInUseNeedsTruncation) {
TEST(LoggingInstallerTest, TestMoveFailsNeedsTruncation) {
const std::string test_data(installer::kMaxInstallerLogFileSize + 1, 'a');
- ScopedTempDir temp_dir;
+ base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
FilePath temp_file = temp_dir.path().Append(L"temp");
« no previous file with comments | « chrome/installer/util/installer_state_unittest.cc ('k') | chrome/installer/util/lzma_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698