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

Side by Side Diff: content/shell/app/shell_crash_reporter_client.cc

Issue 1862513003: Remove NPAPI from browser and utility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 "content/shell/app/shell_crash_reporter_client.h" 5 #include "content/shell/app/shell_crash_reporter_client.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 #if defined(OS_ANDROID) 60 #if defined(OS_ANDROID)
61 int ShellCrashReporterClient::GetAndroidMinidumpDescriptor() { 61 int ShellCrashReporterClient::GetAndroidMinidumpDescriptor() {
62 return kAndroidMinidumpDescriptor; 62 return kAndroidMinidumpDescriptor;
63 } 63 }
64 #endif 64 #endif
65 65
66 bool ShellCrashReporterClient::EnableBreakpadForProcess( 66 bool ShellCrashReporterClient::EnableBreakpadForProcess(
67 const std::string& process_type) { 67 const std::string& process_type) {
68 return process_type == switches::kRendererProcess || 68 return process_type == switches::kRendererProcess ||
69 process_type == switches::kPluginProcess ||
70 process_type == switches::kPpapiPluginProcess || 69 process_type == switches::kPpapiPluginProcess ||
71 process_type == switches::kZygoteProcess || 70 process_type == switches::kZygoteProcess ||
72 process_type == switches::kGpuProcess; 71 process_type == switches::kGpuProcess;
73 } 72 }
74 73
75 } // namespace content 74 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/app/blink_test_platform_support_mac.mm ('k') | content/shell/browser/shell_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698