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

Unified Diff: snapshot/win/crashpad_snapshot_test_image_reader_module.cc

Issue 1352323002: win: Make reading NT_IMAGE_HEADERS work cross-bitness (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@cleanup-crashpad-info
Patch Set: . Created 5 years, 3 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: snapshot/win/crashpad_snapshot_test_image_reader_module.cc
diff --git a/snapshot/mac/mach_o_image_annotations_reader_test_no_op.cc b/snapshot/win/crashpad_snapshot_test_image_reader_module.cc
similarity index 81%
copy from snapshot/mac/mach_o_image_annotations_reader_test_no_op.cc
copy to snapshot/win/crashpad_snapshot_test_image_reader_module.cc
index b8953207b4a0d6034622dd753dcb8d97e22a58d6..ade27ba34dac503234abab07ab35b176b14167b5 100644
--- a/snapshot/mac/mach_o_image_annotations_reader_test_no_op.cc
+++ b/snapshot/win/crashpad_snapshot_test_image_reader_module.cc
@@ -12,8 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include <stdlib.h>
+#include <windows.h>
-int main(int argc, char* argv[]) {
- return EXIT_SUCCESS;
+#include "client/crashpad_info.h"
Mark Mentovai 2015/09/19 03:02:47 Do you need this?
scottmg 2015/09/19 04:24:41 Oops, I had other plans originally. Done.
+
+BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved) {
+ return TRUE;
}

Powered by Google App Engine
This is Rietveld 408576698