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

Unified Diff: content/shell/browser/shell_content_browser_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/browser/shell_content_browser_client.h ('k') | content/test/fake_plugin_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_content_browser_client.cc
diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc
index dd9840a749f27644ba5ca6d597f758f2f6d6ea51..73d258f8661ae98127906986ad943f912fa3363c 100644
--- a/content/shell/browser/shell_content_browser_client.cc
+++ b/content/shell/browser/shell_content_browser_client.cc
@@ -100,13 +100,6 @@ int GetCrashSignalFD(const base::CommandLine& command_line) {
return crash_handler->GetDeathSignalSocket();
}
- if (process_type == switches::kPluginProcess) {
- static breakpad::CrashHandlerHostLinux* crash_handler = NULL;
- if (!crash_handler)
- crash_handler = CreateCrashHandlerHost(process_type);
- return crash_handler->GetDeathSignalSocket();
- }
-
if (process_type == switches::kPpapiPluginProcess) {
static breakpad::CrashHandlerHostLinux* crash_handler = NULL;
if (!crash_handler)
@@ -208,14 +201,6 @@ bool ShellContentBrowserClient::IsHandledURL(const GURL& url) {
return false;
}
-bool ShellContentBrowserClient::IsNPAPIEnabled() {
-#if defined(OS_WIN) || defined(OS_MACOSX)
- return true;
-#else
- return false;
-#endif
-}
-
void ShellContentBrowserClient::RegisterInProcessMojoApplications(
StaticMojoApplicationMap* apps) {
#if (ENABLE_MOJO_MEDIA_IN_BROWSER_PROCESS)
« no previous file with comments | « content/shell/browser/shell_content_browser_client.h ('k') | content/test/fake_plugin_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698