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

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

Issue 7048007: Move scoped_temp_dir and scoped_native_library back from base/memory to base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unknwn Created 9 years, 7 months 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 #pragma once 7 #pragma once
8 8
9 #include <windows.h> 9 #include <windows.h>
10 10
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/memory/scoped_temp_dir.h"
14 #include "base/path_service.h" 13 #include "base/path_service.h"
14 #include "base/scoped_temp_dir.h"
15 #include "base/win/registry.h" 15 #include "base/win/registry.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 17
18 class TestWithTempDir : public testing::Test { 18 class TestWithTempDir : public testing::Test {
19 protected: 19 protected:
20 virtual void SetUp(); 20 virtual void SetUp();
21 virtual void TearDown(); 21 virtual void TearDown();
22 22
23 ScopedTempDir test_dir_; 23 ScopedTempDir test_dir_;
24 }; 24 };
(...skipping 15 matching lines...) Expand all
40 40
41 static void DeleteAllTempKeys(); 41 static void DeleteAllTempKeys();
42 42
43 protected: 43 protected:
44 HKEY override_; 44 HKEY override_;
45 base::win::RegKey temp_key_; 45 base::win::RegKey temp_key_;
46 std::wstring temp_name_; 46 std::wstring temp_name_;
47 }; 47 };
48 48
49 #endif // CHROME_INSTALLER_UTIL_PRODUCT_UNITTEST_H_ 49 #endif // CHROME_INSTALLER_UTIL_PRODUCT_UNITTEST_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/move_tree_work_item.h ('k') | chrome/installer/util/self_cleaning_temp_dir_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698