| Index: snapshot/win/module_snapshot_win.cc
|
| diff --git a/snapshot/win/module_snapshot_win.cc b/snapshot/win/module_snapshot_win.cc
|
| index c3f915f8b4b70185ee62048be52069a73574d250..a8a9623f500a7f099213cff4bbfb7def0243733c 100644
|
| --- a/snapshot/win/module_snapshot_win.cc
|
| +++ b/snapshot/win/module_snapshot_win.cc
|
| @@ -97,7 +97,11 @@ void ModuleSnapshotWin::FileVersion(uint16_t* version_0,
|
| uint16_t* version_2,
|
| uint16_t* version_3) const {
|
| INITIALIZATION_STATE_DCHECK_VALID(initialized_);
|
| - CHECK(false) << "TODO(scottmg)";
|
| + LOG(ERROR) << "TODO(scottmg): ModuleSnapshotWin::FileVersion()";
|
| + *version_0 = 0;
|
| + *version_1 = 0;
|
| + *version_2 = 0;
|
| + *version_3 = 0;
|
| }
|
|
|
| void ModuleSnapshotWin::SourceVersion(uint16_t* version_0,
|
| @@ -105,30 +109,35 @@ void ModuleSnapshotWin::SourceVersion(uint16_t* version_0,
|
| uint16_t* version_2,
|
| uint16_t* version_3) const {
|
| INITIALIZATION_STATE_DCHECK_VALID(initialized_);
|
| - CHECK(false) << "TODO(scottmg)";
|
| + LOG(ERROR) << "TODO(scottmg): ModuleSnapshotWin::SourceVersion()";
|
| + *version_0 = 0;
|
| + *version_1 = 0;
|
| + *version_2 = 0;
|
| + *version_3 = 0;
|
| }
|
|
|
| ModuleSnapshot::ModuleType ModuleSnapshotWin::GetModuleType() const {
|
| INITIALIZATION_STATE_DCHECK_VALID(initialized_);
|
| - CHECK(false) << "TODO(scottmg)";
|
| - return ModuleSnapshot::ModuleType();
|
| + LOG(ERROR) << "TODO(scottmg): ModuleSnapshotWin::GetModuleType()";
|
| + return kModuleTypeSharedLibrary;
|
| }
|
|
|
| void ModuleSnapshotWin::UUID(crashpad::UUID* uuid) const {
|
| INITIALIZATION_STATE_DCHECK_VALID(initialized_);
|
| - CHECK(false) << "TODO(scottmg)";
|
| + LOG(ERROR) << "TODO(scottmg): ModuleSnapshotWin::UUID()";
|
| + *uuid = crashpad::UUID();
|
| }
|
|
|
| std::vector<std::string> ModuleSnapshotWin::AnnotationsVector() const {
|
| INITIALIZATION_STATE_DCHECK_VALID(initialized_);
|
| - CHECK(false) << "TODO(scottmg)";
|
| + LOG(ERROR) << "TODO(scottmg): ModuleSnapshotWin::AnnotationsVector()";
|
| return std::vector<std::string>();
|
| }
|
|
|
| std::map<std::string, std::string> ModuleSnapshotWin::AnnotationsSimpleMap()
|
| const {
|
| INITIALIZATION_STATE_DCHECK_VALID(initialized_);
|
| - CHECK(false) << "TODO(scottmg)";
|
| + LOG(ERROR) << "TODO(scottmg): ModuleSnapshotWin::AnnotationsSimpleMap()";
|
| return std::map<std::string, std::string>();
|
| }
|
|
|
|
|