OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/crash/content/tools/crash_service.h" | 5 #include "components/crash/content/tools/crash_service.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
| 8 #include <stddef.h> |
8 | 9 |
9 #include <sddl.h> | 10 #include <sddl.h> |
10 #include <fstream> | 11 #include <fstream> |
11 #include <map> | 12 #include <map> |
12 | 13 |
13 #include "base/command_line.h" | 14 #include "base/command_line.h" |
14 #include "base/files/file_util.h" | 15 #include "base/files/file_util.h" |
15 #include "base/logging.h" | 16 #include "base/logging.h" |
| 17 #include "base/macros.h" |
16 #include "base/win/windows_version.h" | 18 #include "base/win/windows_version.h" |
17 #include "breakpad/src/client/windows/crash_generation/client_info.h" | 19 #include "breakpad/src/client/windows/crash_generation/client_info.h" |
18 #include "breakpad/src/client/windows/crash_generation/crash_generation_server.h
" | 20 #include "breakpad/src/client/windows/crash_generation/crash_generation_server.h
" |
19 #include "breakpad/src/client/windows/sender/crash_report_sender.h" | 21 #include "breakpad/src/client/windows/sender/crash_report_sender.h" |
20 | 22 |
21 namespace breakpad { | 23 namespace breakpad { |
22 | 24 |
23 namespace { | 25 namespace { |
24 | 26 |
25 const wchar_t kTestPipeName[] = L"\\\\.\\pipe\\ChromeCrashServices"; | 27 const wchar_t kTestPipeName[] = L"\\\\.\\pipe\\ChromeCrashServices"; |
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 if (::GetSecurityDescriptorSacl(sec_desc, &sacl_present, &sacl, | 482 if (::GetSecurityDescriptorSacl(sec_desc, &sacl_present, &sacl, |
481 &sacl_defaulted)) { | 483 &sacl_defaulted)) { |
482 return sec_desc; | 484 return sec_desc; |
483 } | 485 } |
484 } | 486 } |
485 | 487 |
486 return NULL; | 488 return NULL; |
487 } | 489 } |
488 | 490 |
489 } // namespace breakpad | 491 } // namespace breakpad |
OLD | NEW |