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

Unified Diff: chrome/common/pref_names.cc

Issue 2369353002: Adds a pref and a policy to decide if PDFs should always be opened externally. (Closed)
Patch Set: Rebase and move the friend decl in the ifdef. Created 4 years, 3 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
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index bde96d1fceea656091082eb613fb6bc93d7758ef..d7e31378141abba20870ec37a532942ab1d26e22 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -980,6 +980,8 @@ const char kPluginsDisabledPluginsExceptions[] =
// List pref containing names of plugins that are enabled by policy.
const char kPluginsEnabledPlugins[] = "plugins.plugins_enabled";
+const char kAlwaysOpenPdfExternally[] = "plugins.always_open_pdf_externally";
Bernhard Bauer 2016/09/29 08:44:35 Can you name the constant in a way that reflects i
pastarmovj 2016/09/29 12:14:41 Done.
+
#if defined(ENABLE_PLUGINS)
// Whether about:plugins is shown in the details mode or not.
const char kPluginsShowDetails[] = "plugins.show_details";

Powered by Google App Engine
This is Rietveld 408576698