Move commerce feature flags to their respective component
This patch moves all the commerce feature flags to the commerce
component in core/. This allows the code to both be used across
platforms and in other components if necessary.
This patch also adds mdjones@ to the OWNERS file.
Bug: 1289279
Change-Id: Ib83416cc8b1a03b0d1c7c7760b853f2af684f9da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3404552
Reviewed-by: Wei-Yin Chen <[email protected]>
Reviewed-by: David Trainor <[email protected]>
Reviewed-by: David Maunder <[email protected]>
Auto-Submit: Matthew Jones <[email protected]>
Reviewed-by: Nico Weber <[email protected]>
Commit-Queue: Nico Weber <[email protected]>
Cr-Commit-Position: refs/heads/main@{#965819}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index cd0c14c1..fbe42f07 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -1931,7 +1931,6 @@
"//chrome/app/vector_icons",
"//chrome/browser/breadcrumbs",
"//chrome/browser/browsing_data:constants",
- "//chrome/browser/commerce:feature_list",
"//chrome/browser/devtools",
"//chrome/browser/feature_guide/notifications:public",
"//chrome/browser/feature_guide/notifications/internal",
@@ -2031,6 +2030,7 @@
"//components/certificate_transparency:proto",
"//components/client_hints/browser",
"//components/cloud_devices/common",
+ "//components/commerce/core:feature_list",
"//components/component_updater",
"//components/component_updater:crl_set_remover",
"//components/component_updater/installer_policies",
@@ -3368,7 +3368,6 @@
"//chrome/browser/attribution_reporting/android:jni_headers",
"//chrome/browser/attribution_reporting/android/internal",
"//chrome/browser/banners/android:jni_headers",
- "//chrome/browser/commerce:feature_list",
"//chrome/browser/commerce/merchant_viewer:merchant_signal_db",
"//chrome/browser/commerce/merchant_viewer:merchant_signal_db_content_proto",
"//chrome/browser/commerce/merchant_viewer:merchant_viewer_data_manager",
@@ -3433,6 +3432,7 @@
"//components/browser_ui/util/android",
"//components/cbor",
"//components/cdm/browser",
+ "//components/commerce/core:feature_list",
"//components/commerce/core:proto",
"//components/component_updater/android:native_background_task_update_scheduler",
"//components/content_capture/android",