Chromium Code Reviews| 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; |
| } |