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

Unified Diff: chrome/common/chrome_switches.cc

Issue 1128453003: Remove the OOP PDF flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « chrome/common/chrome_switches.h ('k') | chrome/renderer/printing/chrome_print_web_view_helper_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/printing/chrome_print_web_view_helper_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698