| Index: chrome/app/chrome_crash_reporter_client_mac.mm
|
| diff --git a/chrome/app/chrome_crash_reporter_client_mac.mm b/chrome/app/chrome_crash_reporter_client_mac.mm
|
| index 942f2bb61e90706760973c8f93bccc06b02f09ac..b4e741942968c964fa6c354146b83a47bf11dd2c 100644
|
| --- a/chrome/app/chrome_crash_reporter_client_mac.mm
|
| +++ b/chrome/app/chrome_crash_reporter_client_mac.mm
|
| @@ -12,7 +12,6 @@
|
|
|
| #if !defined(DISABLE_NACL)
|
| #include "base/command_line.h"
|
| -#import "breakpad/src/client/mac/Framework/Breakpad.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "components/nacl/common/nacl_switches.h"
|
| #include "native_client/src/trusted/service_runtime/osx/crash_filter.h"
|
| @@ -20,28 +19,6 @@
|
|
|
| namespace chrome {
|
|
|
| -namespace {
|
| -
|
| -#if !defined(DISABLE_NACL)
|
| -bool NaClBreakpadCrashFilter(int exception_type,
|
| - int exception_code,
|
| - mach_port_t crashing_thread,
|
| - void* context) {
|
| - return !NaClMachThreadIsInUntrusted(crashing_thread);
|
| -}
|
| -#endif
|
| -
|
| -} // namespace
|
| -
|
| -void ChromeCrashReporterClient::InstallAdditionalFilters(BreakpadRef breakpad) {
|
| -#if !defined(DISABLE_NACL)
|
| - if (base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
|
| - switches::kProcessType) == switches::kNaClLoaderProcess) {
|
| - BreakpadSetFilterCallback(breakpad, NaClBreakpadCrashFilter, NULL);
|
| - }
|
| -#endif
|
| -}
|
| -
|
| bool ChromeCrashReporterClient::ReportingIsEnforcedByPolicy(
|
| bool* breakpad_enabled) {
|
| base::ScopedCFTypeRef<CFStringRef> key(
|
|
|