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

Unified Diff: third_party/crashpad/crashpad/snapshot/unloaded_module_snapshot.cc

Issue 1704203004: Update Crashpad to badfacccee01895719d2aeb3ac50f64854abf10c (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/crashpad/crashpad/snapshot/unloaded_module_snapshot.cc
diff --git a/third_party/crashpad/crashpad/util/win/get_module_information.cc b/third_party/crashpad/crashpad/snapshot/unloaded_module_snapshot.cc
similarity index 54%
copy from third_party/crashpad/crashpad/util/win/get_module_information.cc
copy to third_party/crashpad/crashpad/snapshot/unloaded_module_snapshot.cc
index 1a9fd0c4016b15e070b5df1f4fd466a532b0edf0..45f606a68ea5ae2af8cd4085a37e691ec4b20f84 100644
--- a/third_party/crashpad/crashpad/util/win/get_module_information.cc
+++ b/third_party/crashpad/crashpad/snapshot/unloaded_module_snapshot.cc
@@ -12,19 +12,22 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "util/win/get_module_information.h"
-
-#include "util/win/get_function.h"
+#include "snapshot/unloaded_module_snapshot.h"
namespace crashpad {
-BOOL CrashpadGetModuleInformation(HANDLE process,
- HMODULE module,
- MODULEINFO* module_info,
- DWORD cb) {
- static const auto get_module_information =
- GET_FUNCTION_REQUIRED(L"psapi.dll", GetModuleInformation);
- return get_module_information(process, module, module_info, cb);
+UnloadedModuleSnapshot::UnloadedModuleSnapshot(uint64_t address,
+ uint64_t size,
+ uint32_t checksum,
+ uint32_t timestamp,
+ const std::string& name)
+ : name_(name),
+ address_(address),
+ size_(size),
+ checksum_(checksum),
+ timestamp_(timestamp) {}
+
+UnloadedModuleSnapshot::~UnloadedModuleSnapshot() {
}
} // namespace crashpad

Powered by Google App Engine
This is Rietveld 408576698