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

Side by Side Diff: chrome/installer/mini_installer/regkey.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_MINI_INSTALLER_REGKEY_H_ 5 #ifndef CHROME_INSTALLER_MINI_INSTALLER_REGKEY_H_
6 #define CHROME_INSTALLER_MINI_INSTALLER_REGKEY_H_ 6 #define CHROME_INSTALLER_MINI_INSTALLER_REGKEY_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 #include <stddef.h>
9 10
10 namespace mini_installer { 11 namespace mini_installer {
11 12
12 // A helper class used to manipulate the Windows registry. Typically, members 13 // A helper class used to manipulate the Windows registry. Typically, members
13 // return Windows last-error codes a la Win32 registry API. 14 // return Windows last-error codes a la Win32 registry API.
14 class RegKey { 15 class RegKey {
15 public: 16 public:
16 RegKey() : key_(NULL) { } 17 RegKey() : key_(NULL) { }
17 ~RegKey() { Close(); } 18 ~RegKey() { Close(); }
18 19
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 57
57 58
58 // Helper function to get the RegKey associated with the "client state" of 59 // Helper function to get the RegKey associated with the "client state" of
59 // the given |app_guid|. 60 // the given |app_guid|.
60 bool OpenClientStateKey(HKEY root_key, const wchar_t* app_guid, 61 bool OpenClientStateKey(HKEY root_key, const wchar_t* app_guid,
61 REGSAM access, RegKey* key); 62 REGSAM access, RegKey* key);
62 63
63 } // namespace mini_installer 64 } // namespace mini_installer
64 65
65 #endif // CHROME_INSTALLER_MINI_INSTALLER_REGKEY_H_ 66 #endif // CHROME_INSTALLER_MINI_INSTALLER_REGKEY_H_
OLDNEW
« no previous file with comments | « chrome/installer/mini_installer/pe_resource.h ('k') | chrome/installer/setup/archive_patch_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698