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

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: fixes2 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
« no previous file with comments | « snapshot/win/crashpad_snapshot_test_image_reader.cc ('k') | snapshot/win/exception_snapshot_win_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 84%
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..6e81de9574b63d867e2b53e3c8968f2bd012893b 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,8 @@
// 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;
+BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved) {
+ return TRUE;
}
« no previous file with comments | « snapshot/win/crashpad_snapshot_test_image_reader.cc ('k') | snapshot/win/exception_snapshot_win_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698