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

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

Issue 2799013002: Monitor crashpad_handler for crashes [sometimes] (Closed)
Patch Set: Address review feedback (scottmg) Created 3 years, 8 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 #include "components/crash/content/app/crash_reporter_client.h" 5 #include "components/crash/content/app/crash_reporter_client.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 // On Windows don't use FilePath and logging.h. 9 // On Windows don't use FilePath and logging.h.
10 // http://crbug.com/604923 10 // http://crbug.com/604923
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // on Android we attach a secondary crash handler which serializes a reduced 166 // on Android we attach a secondary crash handler which serializes a reduced
167 // form of logcat on the console. 167 // form of logcat on the console.
168 #if defined(NO_UNWIND_TABLES) 168 #if defined(NO_UNWIND_TABLES)
169 return true; 169 return true;
170 #else 170 #else
171 return false; 171 return false;
172 #endif 172 #endif
173 } 173 }
174 #endif 174 #endif
175 175
176 #if defined(OS_MACOSX) || defined(OS_WIN)
177 bool CrashReporterClient::ShouldMonitorCrashHandlerExpensively() {
178 return false;
179 }
180 #endif
181
176 bool CrashReporterClient::EnableBreakpadForProcess( 182 bool CrashReporterClient::EnableBreakpadForProcess(
177 const std::string& process_type) { 183 const std::string& process_type) {
178 return false; 184 return false;
179 } 185 }
180 186
181 } // namespace crash_reporter 187 } // namespace crash_reporter
OLDNEW
« no previous file with comments | « components/crash/content/app/crash_reporter_client.h ('k') | components/crash/content/app/crashpad_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698