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

Side by Side Diff: components/crash/content/app/breakpad_linux.cc

Issue 1940153003: Remove references to 'chrome_build_id' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « components/crash/content/app/BUILD.gn ('k') | components/version_ui/version_ui_constants.h » ('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 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 // 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 7
8 #include "components/crash/content/app/breakpad_linux.h" 8 #include "components/crash/content/app/breakpad_linux.h"
9 9
10 #include <fcntl.h> 10 #include <fcntl.h>
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 base::android::BuildInfo* android_build_info = 596 base::android::BuildInfo* android_build_info =
597 base::android::BuildInfo::GetInstance(); 597 base::android::BuildInfo::GetInstance();
598 598
599 AndroidLogWriteHorizontalRule(); 599 AndroidLogWriteHorizontalRule();
600 __android_log_write(ANDROID_LOG_WARN, kGoogleBreakpad, 600 __android_log_write(ANDROID_LOG_WARN, kGoogleBreakpad,
601 "Chrome build fingerprint:"); 601 "Chrome build fingerprint:");
602 __android_log_write(ANDROID_LOG_WARN, kGoogleBreakpad, 602 __android_log_write(ANDROID_LOG_WARN, kGoogleBreakpad,
603 android_build_info->package_version_name()); 603 android_build_info->package_version_name());
604 __android_log_write(ANDROID_LOG_WARN, kGoogleBreakpad, 604 __android_log_write(ANDROID_LOG_WARN, kGoogleBreakpad,
605 android_build_info->package_version_code()); 605 android_build_info->package_version_code());
606 __android_log_write(ANDROID_LOG_WARN, kGoogleBreakpad,
607 CHROME_BUILD_ID);
608 AndroidLogWriteHorizontalRule(); 606 AndroidLogWriteHorizontalRule();
609 607
610 if (!is_browser_process && 608 if (!is_browser_process &&
611 android_build_info->sdk_int() >= 18 && 609 android_build_info->sdk_int() >= 18 &&
612 my_strcmp(android_build_info->build_type(), "eng") != 0 && 610 my_strcmp(android_build_info->build_type(), "eng") != 0 &&
613 my_strcmp(android_build_info->build_type(), "userdebug") != 0) { 611 my_strcmp(android_build_info->build_type(), "userdebug") != 0) {
614 // On JB MR2 and later, the system crash handler displays a dialog. For 612 // On JB MR2 and later, the system crash handler displays a dialog. For
615 // renderer crashes, this is a bad user experience and so this is disabled 613 // renderer crashes, this is a bad user experience and so this is disabled
616 // for user builds of Android. 614 // for user builds of Android.
617 // TODO(cjhopman): There should be some way to recover the crash stack from 615 // TODO(cjhopman): There should be some way to recover the crash stack from
(...skipping 1302 matching lines...) Expand 10 before | Expand all | Expand 10 after
1920 const std::string& gpu_fingerprint) { 1918 const std::string& gpu_fingerprint) {
1921 g_microdump_info.Get().SetGpuFingerprint(gpu_fingerprint); 1919 g_microdump_info.Get().SetGpuFingerprint(gpu_fingerprint);
1922 } 1920 }
1923 #endif // OS_ANDROID 1921 #endif // OS_ANDROID
1924 1922
1925 bool IsCrashReporterEnabled() { 1923 bool IsCrashReporterEnabled() {
1926 return g_is_crash_reporter_enabled; 1924 return g_is_crash_reporter_enabled;
1927 } 1925 }
1928 1926
1929 } // namespace breakpad 1927 } // namespace breakpad
OLDNEW
« no previous file with comments | « components/crash/content/app/BUILD.gn ('k') | components/version_ui/version_ui_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698