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

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

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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_REGISTRY_TEST_DATA_H_ 5 #ifndef CHROME_INSTALLER_UTIL_REGISTRY_TEST_DATA_H_
6 #define CHROME_INSTALLER_UTIL_REGISTRY_TEST_DATA_H_ 6 #define CHROME_INSTALLER_UTIL_REGISTRY_TEST_DATA_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/basictypes.h" 12 #include "base/macros.h"
13 13
14 // A helper class for use by unit tests that need some registry space and data. 14 // A helper class for use by unit tests that need some registry space and data.
15 // BEWARE: Instances of this class irrevocably and recursively delete keys and 15 // BEWARE: Instances of this class irrevocably and recursively delete keys and
16 // values from the registry. Carefully read the comments for Initialize and 16 // values from the registry. Carefully read the comments for Initialize and
17 // Reset before use. 17 // Reset before use.
18 class RegistryTestData { 18 class RegistryTestData {
19 public: 19 public:
20 RegistryTestData(); 20 RegistryTestData();
21 // Invokes Reset() on its way out. 21 // Invokes Reset() on its way out.
22 ~RegistryTestData(); 22 ~RegistryTestData();
(...skipping 26 matching lines...) Expand all
49 49
50 HKEY root_key_; 50 HKEY root_key_;
51 std::wstring base_path_; 51 std::wstring base_path_;
52 std::wstring empty_key_path_; 52 std::wstring empty_key_path_;
53 std::wstring non_empty_key_path_; 53 std::wstring non_empty_key_path_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(RegistryTestData); 55 DISALLOW_COPY_AND_ASSIGN(RegistryTestData);
56 }; 56 };
57 57
58 #endif // CHROME_INSTALLER_UTIL_REGISTRY_TEST_DATA_H_ 58 #endif // CHROME_INSTALLER_UTIL_REGISTRY_TEST_DATA_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/registry_key_backup.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