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

Side by Side Diff: chrome/browser/install_verification/win/module_info.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_INFO_H_ 5 #ifndef CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_INFO_H_
6 #define CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_INFO_H_ 6 #define CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_INFO_H_
7 7
8 #include <stdint.h>
9
8 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
9 11
10 // Represents and facilitates operations on the address range corresponding to a 12 // Represents and facilitates operations on the address range corresponding to a
11 // loaded module. 13 // loaded module.
12 struct ModuleInfo { 14 struct ModuleInfo {
13 ModuleInfo() : base_address(0), size(0) { 15 ModuleInfo() : base_address(0), size(0) {
14 } 16 }
15 17
16 ModuleInfo(const base::char16* const module_name, 18 ModuleInfo(const base::char16* const module_name,
17 uintptr_t module_base_address, 19 uintptr_t module_base_address,
(...skipping 11 matching lines...) Expand all
29 bool ContainsAddress(uintptr_t address) const { 31 bool ContainsAddress(uintptr_t address) const {
30 return address >= base_address && address < base_address + size; 32 return address >= base_address && address < base_address + size;
31 } 33 }
32 34
33 base::string16 name; 35 base::string16 name;
34 uintptr_t base_address; 36 uintptr_t base_address;
35 uint32_t size; 37 uint32_t size;
36 }; 38 };
37 39
38 #endif // CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_INFO_H_ 40 #endif // CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_INFO_H_
OLDNEW
« no previous file with comments | « chrome/browser/install_verification/win/module_ids.cc ('k') | chrome/browser/install_verification/win/module_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698