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

Side by Side Diff: util/win/process_info.h

Issue 1376353002: win: fix VirtualQueryEx on < win10 (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 5 years, 2 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
« no previous file with comments | « no previous file | util/win/process_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Crashpad Authors. All rights reserved. 1 // Copyright 2015 The Crashpad Authors. All rights reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 friend bool GetProcessBasicInformation(HANDLE process, 134 friend bool GetProcessBasicInformation(HANDLE process,
135 bool is_wow64, 135 bool is_wow64,
136 ProcessInfo* process_info, 136 ProcessInfo* process_info,
137 WinVMAddress* peb_address, 137 WinVMAddress* peb_address,
138 WinVMSize* peb_size); 138 WinVMSize* peb_size);
139 template <class Traits> 139 template <class Traits>
140 friend bool ReadProcessData(HANDLE process, 140 friend bool ReadProcessData(HANDLE process,
141 WinVMAddress peb_address_vmaddr, 141 WinVMAddress peb_address_vmaddr,
142 ProcessInfo* process_info); 142 ProcessInfo* process_info);
143 143
144 friend bool ReadMemoryInfo(HANDLE process, ProcessInfo* process_info); 144 friend bool ReadMemoryInfo(HANDLE process,
145 bool is_64_bit,
146 ProcessInfo* process_info);
145 147
146 pid_t process_id_; 148 pid_t process_id_;
147 pid_t inherited_from_process_id_; 149 pid_t inherited_from_process_id_;
148 std::wstring command_line_; 150 std::wstring command_line_;
149 WinVMAddress peb_address_; 151 WinVMAddress peb_address_;
150 WinVMSize peb_size_; 152 WinVMSize peb_size_;
151 std::vector<Module> modules_; 153 std::vector<Module> modules_;
152 std::vector<MemoryInfo> memory_info_; 154 std::vector<MemoryInfo> memory_info_;
153 bool is_64_bit_; 155 bool is_64_bit_;
154 bool is_wow64_; 156 bool is_wow64_;
155 InitializationStateDcheck initialized_; 157 InitializationStateDcheck initialized_;
156 158
157 DISALLOW_COPY_AND_ASSIGN(ProcessInfo); 159 DISALLOW_COPY_AND_ASSIGN(ProcessInfo);
158 }; 160 };
159 161
160 } // namespace crashpad 162 } // namespace crashpad
161 163
162 #endif // CRASHPAD_UTIL_WIN_PROCESS_INFO_H_ 164 #endif // CRASHPAD_UTIL_WIN_PROCESS_INFO_H_
OLDNEW
« no previous file with comments | « no previous file | util/win/process_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698