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

Side by Side Diff: chrome/installer/util/delete_reg_key_work_item.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_DELETE_REG_KEY_WORK_ITEM_H_ 5 #ifndef CHROME_INSTALLER_UTIL_DELETE_REG_KEY_WORK_ITEM_H_
6 #define CHROME_INSTALLER_UTIL_DELETE_REG_KEY_WORK_ITEM_H_ 6 #define CHROME_INSTALLER_UTIL_DELETE_REG_KEY_WORK_ITEM_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"
13 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/macros.h"
14 #include "chrome/installer/util/registry_key_backup.h" 14 #include "chrome/installer/util/registry_key_backup.h"
15 #include "chrome/installer/util/work_item.h" 15 #include "chrome/installer/util/work_item.h"
16 16
17 class RegistryKeyBackup; 17 class RegistryKeyBackup;
18 18
19 // A WorkItem subclass that deletes a registry key at the given path. Be aware 19 // A WorkItem subclass that deletes a registry key at the given path. Be aware
20 // that in the event of rollback the key's values and subkeys are restored but 20 // that in the event of rollback the key's values and subkeys are restored but
21 // the key and its subkeys take on their default security descriptors. 21 // the key and its subkeys take on their default security descriptors.
22 class DeleteRegKeyWorkItem : public WorkItem { 22 class DeleteRegKeyWorkItem : public WorkItem {
23 public: 23 public:
(...skipping 20 matching lines...) Expand all
44 // Whether to force 32-bit or 64-bit view of the target key. 44 // Whether to force 32-bit or 64-bit view of the target key.
45 REGSAM wow64_access_; 45 REGSAM wow64_access_;
46 46
47 // Backup of the deleted key. 47 // Backup of the deleted key.
48 RegistryKeyBackup backup_; 48 RegistryKeyBackup backup_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(DeleteRegKeyWorkItem); 50 DISALLOW_COPY_AND_ASSIGN(DeleteRegKeyWorkItem);
51 }; 51 };
52 52
53 #endif // CHROME_INSTALLER_UTIL_DELETE_REG_KEY_WORK_ITEM_H_ 53 #endif // CHROME_INSTALLER_UTIL_DELETE_REG_KEY_WORK_ITEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698