Index: chrome/common/chrome_switches.cc |
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc |
index 04f8a2a270c5c79e025af5218f95efad4511452c..0f6347f91acf59dddc6c278708624e6977359730 100644 |
--- a/chrome/common/chrome_switches.cc |
+++ b/chrome/common/chrome_switches.cc |
@@ -294,9 +294,6 @@ const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; |
const char kDisableOfflineAutoReloadVisibleOnly[] = |
"disable-offline-auto-reload-visible-only"; |
-// Disable the out of process PDF plugin. |
-const char kDisableOutOfProcessPdf[] = "disable-out-of-process-pdf"; |
- |
// Disable the setting to prompt the user for their OS account password before |
// revealing plaintext passwords in the password manager. |
const char kDisablePasswordManagerReauthentication[] = |
@@ -486,9 +483,6 @@ const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; |
const char kEnableOfflineAutoReloadVisibleOnly[] = |
"enable-offline-auto-reload-visible-only"; |
-// Enable the out of process PDF plugin. |
-const char kEnableOutOfProcessPdf[] = "enable-out-of-process-pdf"; |
- |
// Enables panels (always on-top docked pop-up windows). |
const char kEnablePanels[] = "enable-panels"; |
@@ -1364,18 +1358,6 @@ bool NewOfflineErrorPageEnabled() { |
::switches::kDisableNewOfflineErrorPage); |
} |
-bool OutOfProcessPdfEnabled() { |
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(kEnableOutOfProcessPdf)) |
- return true; |
- |
- if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
- kDisableOutOfProcessPdf)) |
- return false; |
- |
- // Default. |
- return true; |
-} |
- |
bool PdfMaterialUIEnabled() { |
if (base::CommandLine::ForCurrentProcess()->HasSwitch(kEnablePdfMaterialUI)) |
return true; |