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

Side by Side Diff: components/crash/content/app/breakpad_mac.mm

Issue 1544283002: Clean up header files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #import "components/crash/content/app/breakpad_mac.h" 5 #import "components/crash/content/app/breakpad_mac.h"
6 6
7 #include <CoreFoundation/CoreFoundation.h> 7 #include <CoreFoundation/CoreFoundation.h>
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 #include <stddef.h> 9 #include <stddef.h>
10 #include <string.h> 10 #include <string.h>
11 11
12 #include "base/auto_reset.h" 12 #include "base/auto_reset.h"
13 #include "base/base_switches.h" 13 #include "base/base_switches.h"
14 #import "base/basictypes.h"
15 #include "base/command_line.h" 14 #include "base/command_line.h"
16 #include "base/debug/crash_logging.h" 15 #include "base/debug/crash_logging.h"
17 #include "base/debug/dump_without_crashing.h" 16 #include "base/debug/dump_without_crashing.h"
18 #include "base/files/file_path.h" 17 #include "base/files/file_path.h"
19 #include "base/files/file_util.h" 18 #include "base/files/file_util.h"
20 #import "base/logging.h" 19 #import "base/logging.h"
21 #include "base/mac/bundle_locations.h" 20 #include "base/mac/bundle_locations.h"
22 #include "base/mac/foundation_util.h" 21 #include "base/mac/foundation_util.h"
23 #include "base/mac/mac_util.h" 22 #include "base/mac/mac_util.h"
24 #include "base/mac/scoped_cftyperef.h" 23 #include "base/mac/scoped_cftyperef.h"
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 289
291 // Store process type in crash dump. 290 // Store process type in crash dump.
292 SetCrashKeyValue(@"ptype", process_type); 291 SetCrashKeyValue(@"ptype", process_type);
293 292
294 NSString* pid_value = 293 NSString* pid_value =
295 [NSString stringWithFormat:@"%d", static_cast<unsigned int>(getpid())]; 294 [NSString stringWithFormat:@"%d", static_cast<unsigned int>(getpid())];
296 SetCrashKeyValue(@"pid", pid_value); 295 SetCrashKeyValue(@"pid", pid_value);
297 } 296 }
298 297
299 } // namespace breakpad 298 } // namespace breakpad
OLDNEW
« no previous file with comments | « chrome/utility/safe_browsing/mac/crdmg.cc ('k') | components/cronet/android/cronet_url_request_context_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698