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

Side by Side Diff: components/crash/content/tools/crash_service.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 (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
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
OLDNEW
« no previous file with comments | « components/crash/content/tools/crash_service.h ('k') | components/crash/core/common/crash_keys.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698