MerchantTrust: Call optimization guide decider to get merchants data

This CL also adds a feature flag to enable sample data for testing.

Bug: 378819419
Change-Id: I0c7cd1b283bfd838472e3f76d9a242d37f89baa2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6047801
Code-Coverage: [email protected] <[email protected]>
Reviewed-by: Olesia Marukhno <[email protected]>
Commit-Queue: Nicola Tommasi <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1387525}
diff --git a/components/page_info/core/features.cc b/components/page_info/core/features.cc
index 981e67a..2425f13 100644
--- a/components/page_info/core/features.cc
+++ b/components/page_info/core/features.cc
@@ -5,6 +5,7 @@
 #include "components/page_info/core/features.h"
 
 #include <string_view>
+
 #include "base/containers/contains.h"
 #include "base/containers/fixed_flat_set.h"
 #include "base/feature_list.h"
@@ -30,8 +31,7 @@
 
 BASE_FEATURE(kPageInfoAboutThisSite,
              "PageInfoAboutThisSite",
-             base::FEATURE_ENABLED_BY_DEFAULT
-);
+             base::FEATURE_ENABLED_BY_DEFAULT);
 BASE_FEATURE(kPageInfoAboutThisSiteMoreLangs,
              "PageInfoAboutThisSiteMoreLangs",
              base::FEATURE_DISABLED_BY_DEFAULT);
@@ -48,6 +48,16 @@
              "PageInfoHideSiteSettings",
              base::FEATURE_DISABLED_BY_DEFAULT);
 
-#endif
+#endif  // !BUILDFLAG(IS_ANDROID)
+
+BASE_FEATURE(kMerchantTrust,
+             "MerchantTrust",
+             base::FEATURE_DISABLED_BY_DEFAULT);
+
+const char kMerchantTrustEnabledWithSampleDataName[] =
+    "enabled-with-sample-data";
+const base::FeatureParam<bool> kMerchantTrustEnabledWithSampleData{
+    &kMerchantTrust, kMerchantTrustEnabledWithSampleDataName, false};
+
 
 }  // namespace page_info