Add feature flag for enabling pdf compositor service
The added feature flag enables us to do experiments on stable channel
before the upcoming full launch of oopif printing along with site
isolation feature.
BUG=824867
Change-Id: I90323fc82e9f545112911f33cf6f8dcb60be91ea
Reviewed-on: https://chromium-review.googlesource.com/976814
Reviewed-by: Lei Zhang <[email protected]>
Commit-Queue: Wei Li <[email protected]>
Cr-Commit-Position: refs/heads/master@{#545329}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 1d1f80a..9b1b738 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -73,6 +73,7 @@
#include "components/payments/core/features.h"
#include "components/previews/core/previews_features.h"
#include "components/previews/core/previews_switches.h"
+#include "components/printing/browser/features.h"
#include "components/proximity_auth/switches.h"
#include "components/search_provider_logos/features.h"
#include "components/search_provider_logos/switches.h"
@@ -3730,6 +3731,11 @@
flag_descriptions::kPdfIsolationDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kPdfIsolation)},
+ {"use-pdf-compositor-service-for-print",
+ flag_descriptions::kUsePdfCompositorServiceName,
+ flag_descriptions::kUsePdfCompositorServiceDescription, kOsDesktop,
+ FEATURE_VALUE_TYPE(printing::features::kUsePdfCompositorServiceForPrint)},
+
// NOTE: Adding a new flag requires adding a corresponding entry to enum
// "LoginCustomFlags" in tools/metrics/histograms/enums.xml. See "Flag
// Histograms" in tools/metrics/histograms/README.md (run the