Add about:flags entry for "pdf-form-save" feature.
Also put the "pdf-isolation" feature behind the same ifdef. These
features should only be available when plugins are enabled at compile
time.
Bug: 61248
Change-Id: Ia928ea89d197d2f94d80e1e67c8ac8ece13548f8
Reviewed-on: https://chromium-review.googlesource.com/c/1330846
Commit-Queue: Lei Zhang <[email protected]>
Reviewed-by: Henrique Nakashima <[email protected]>
Cr-Commit-Position: refs/heads/master@{#608046}
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
index 66cc4b9..b6b2b6a6 100644
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
@@ -13,6 +13,7 @@
#include "components/nacl/common/buildflags.h"
#include "device/vr/buildflags/buildflags.h"
#include "media/media_buildflags.h"
+#include "ppapi/buildflags/buildflags.h"
// This file declares strings used in chrome://flags. These messages are not
// translated, because instead of end-users they target Chromium developers and
@@ -938,9 +939,6 @@
extern const char kPasswordsMigrateLinuxToLoginDBName[];
extern const char kPasswordsMigrateLinuxToLoginDBDescription[];
-extern const char kPdfIsolationName[];
-extern const char kPdfIsolationDescription[];
-
extern const char kPerMethodCanMakePaymentQuotaName[];
extern const char kPerMethodCanMakePaymentQuotaDescription[];
@@ -2300,6 +2298,16 @@
#endif // BUILDFLAG(ENABLE_NACL)
+#if BUILDFLAG(ENABLE_PLUGINS)
+
+extern const char kPdfFormSaveName[];
+extern const char kPdfFormSaveDescription[];
+
+extern const char kPdfIsolationName[];
+extern const char kPdfIsolationDescription[];
+
+#endif // BUILDFLAG(ENABLE_PLUGINS)
+
#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
extern const char kAutofillCreditCardUploadName[];