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

Side by Side Diff: chrome/installer/util/product_unittest.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_INSTALLER_UTIL_PRODUCT_UNITTEST_H_ 5 #ifndef CHROME_INSTALLER_UTIL_PRODUCT_UNITTEST_H_
6 #define CHROME_INSTALLER_UTIL_PRODUCT_UNITTEST_H_ 6 #define CHROME_INSTALLER_UTIL_PRODUCT_UNITTEST_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/files/scoped_temp_dir.h"
12 #include "base/path_service.h" 13 #include "base/path_service.h"
13 #include "base/scoped_temp_dir.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 class TestWithTempDir : public testing::Test { 16 class TestWithTempDir : public testing::Test {
17 protected: 17 protected:
18 virtual void SetUp(); 18 virtual void SetUp();
19 virtual void TearDown(); 19 virtual void TearDown();
20 20
21 ScopedTempDir test_dir_; 21 base::ScopedTempDir test_dir_;
22 }; 22 };
23 23
24 class TestWithTempDirAndDeleteTempOverrideKeys : public TestWithTempDir { 24 class TestWithTempDirAndDeleteTempOverrideKeys : public TestWithTempDir {
25 protected: 25 protected:
26 virtual void SetUp(); 26 virtual void SetUp();
27 virtual void TearDown(); 27 virtual void TearDown();
28 }; 28 };
29 29
30 #endif // CHROME_INSTALLER_UTIL_PRODUCT_UNITTEST_H_ 30 #endif // CHROME_INSTALLER_UTIL_PRODUCT_UNITTEST_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/move_tree_work_item_unittest.cc ('k') | chrome/installer/util/self_cleaning_temp_dir.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698