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

Side by Side Diff: snapshot/win/pe_image_annotations_reader_test.cc

Issue 1586433003: Adding an API to read module annotations in snapshot.gyp (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Last comments Created 4 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Crashpad Authors. All rights reserved. 1 // Copyright 2015 The Crashpad Authors. All rights reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 13 matching lines...) Expand all
24 #include "base/files/file_path.h" 24 #include "base/files/file_path.h"
25 #include "base/strings/utf_string_conversions.h" 25 #include "base/strings/utf_string_conversions.h"
26 #include "build/build_config.h" 26 #include "build/build_config.h"
27 #include "client/crashpad_info.h" 27 #include "client/crashpad_info.h"
28 #include "client/simple_string_dictionary.h" 28 #include "client/simple_string_dictionary.h"
29 #include "gtest/gtest.h" 29 #include "gtest/gtest.h"
30 #include "snapshot/win/pe_image_reader.h" 30 #include "snapshot/win/pe_image_reader.h"
31 #include "snapshot/win/process_reader_win.h" 31 #include "snapshot/win/process_reader_win.h"
32 #include "test/paths.h" 32 #include "test/paths.h"
33 #include "test/win/child_launcher.h" 33 #include "test/win/child_launcher.h"
34 #include "test/win/win_multiprocess.h"
35 #include "util/file/file_io.h" 34 #include "util/file/file_io.h"
36 #include "util/win/process_info.h" 35 #include "util/win/process_info.h"
37 36
38 namespace crashpad { 37 namespace crashpad {
39 namespace test { 38 namespace test {
40 namespace { 39 namespace {
41 40
42 enum TestType { 41 enum TestType {
43 // Don't crash, just test the CrashpadInfo interface. 42 // Don't crash, just test the CrashpadInfo interface.
44 kDontCrash = 0, 43 kDontCrash = 0,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 #else 135 #else
137 TestAnnotationsOnCrash(kCrashDebugBreak, 136 TestAnnotationsOnCrash(kCrashDebugBreak,
138 FILE_PATH_LITERAL("..\\..\\out\\Release")); 137 FILE_PATH_LITERAL("..\\..\\out\\Release"));
139 #endif 138 #endif
140 } 139 }
141 #endif // ARCH_CPU_64_BITS 140 #endif // ARCH_CPU_64_BITS
142 141
143 } // namespace 142 } // namespace
144 } // namespace test 143 } // namespace test
145 } // namespace crashpad 144 } // namespace crashpad
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698