blob: c8d1b32abf1ddb54a95bf9b7c751f1445dc60722 [file] [log] [blame]
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_RENDERER_CART_COMMERCE_RENDERER_FEATURE_LIST_H_
#define CHROME_RENDERER_CART_COMMERCE_RENDERER_FEATURE_LIST_H_
#include "base/feature_list.h"
#include "base/metrics/field_trial_params.h"
#include "components/search/ntp_features.h"
#include "url/gurl.h"
namespace commerce_renderer_feature {
extern const base::Feature kRetailCoupons;
// Whether to use OptimizationGuide to optimize renderer signal collection.
constexpr base::FeatureParam<bool> kOptimizeRendererSignal(
&ntp_features::kNtpChromeCartModule,
"optimize-renderer-signal",
false);
// Check if a URL belongs to a partner merchant of any type of discount.
bool IsPartnerMerchant(const GURL& url);
} // namespace commerce_renderer_feature
#endif // CHROME_RENDERER_CART_COMMERCE_RENDERER_FEATURE_LIST_H_