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

Side by Side Diff: chrome/app/breakpad_linux.cc

Issue 12090096: Split DumpWithoutCrashing() into a separate file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/app/breakpad_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // For linux_syscall_support.h. This makes it safe to call embedded system 5 // For linux_syscall_support.h. This makes it safe to call embedded system
6 // calls when in seccomp mode. 6 // calls when in seccomp mode.
7 #define SYS_SYSCALL_ENTRYPOINT "playground$syscallEntryPoint" 7 #define SYS_SYSCALL_ENTRYPOINT "playground$syscallEntryPoint"
8 8
9 #include "chrome/app/breakpad_linux.h" 9 #include "chrome/app/breakpad_linux.h"
10 10
(...skipping 23 matching lines...) Expand all
34 #include "base/string_util.h" 34 #include "base/string_util.h"
35 #include "breakpad/src/client/linux/handler/exception_handler.h" 35 #include "breakpad/src/client/linux/handler/exception_handler.h"
36 #include "breakpad/src/client/linux/minidump_writer/directory_reader.h" 36 #include "breakpad/src/client/linux/minidump_writer/directory_reader.h"
37 #include "breakpad/src/common/linux/linux_libc_support.h" 37 #include "breakpad/src/common/linux/linux_libc_support.h"
38 #include "breakpad/src/common/memory.h" 38 #include "breakpad/src/common/memory.h"
39 #include "chrome/browser/crash_upload_list.h" 39 #include "chrome/browser/crash_upload_list.h"
40 #include "chrome/common/child_process_logging.h" 40 #include "chrome/common/child_process_logging.h"
41 #include "chrome/common/chrome_paths.h" 41 #include "chrome/common/chrome_paths.h"
42 #include "chrome/common/chrome_switches.h" 42 #include "chrome/common/chrome_switches.h"
43 #include "chrome/common/chrome_version_info_posix.h" 43 #include "chrome/common/chrome_version_info_posix.h"
44 #include "chrome/common/dump_without_crashing.h"
44 #include "chrome/common/env_vars.h" 45 #include "chrome/common/env_vars.h"
45 #include "chrome/common/logging_chrome.h" 46 #include "chrome/common/logging_chrome.h"
46 #include "content/public/common/content_descriptors.h" 47 #include "content/public/common/content_descriptors.h"
47 48
48 #if defined(OS_ANDROID) 49 #if defined(OS_ANDROID)
49 #include <android/log.h> 50 #include <android/log.h>
50 #include <sys/stat.h> 51 #include <sys/stat.h>
51 52
52 #include "base/android/build_info.h" 53 #include "base/android/build_info.h"
53 #include "base/android/path_utils.h" 54 #include "base/android/path_utils.h"
(...skipping 1429 matching lines...) Expand 10 before | Expand all | Expand 10 after
1483 } else { 1484 } else {
1484 EnableNonBrowserCrashDumping(minidump_fd); 1485 EnableNonBrowserCrashDumping(minidump_fd);
1485 } 1486 }
1486 } 1487 }
1487 } 1488 }
1488 #endif // OS_ANDROID 1489 #endif // OS_ANDROID
1489 1490
1490 bool IsCrashReporterEnabled() { 1491 bool IsCrashReporterEnabled() {
1491 return g_is_crash_reporter_enabled; 1492 return g_is_crash_reporter_enabled;
1492 } 1493 }
OLDNEW
« no previous file with comments | « no previous file | chrome/app/breakpad_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698