#include "base/functional/bind.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/scoped_feature_list.h"
#include "components/commerce/core/commerce_feature_list.h"
#include "components/commerce/core/metrics/metrics_utils.h"
#include "components/commerce/core/shopping_service.h"
#include "components/commerce/core/shopping_service_test_base.h"
#include "components/optimization_guide/core/optimization_guide_decider.h"
#include "components/optimization_guide/core/optimization_guide_decision.h"
#include "components/optimization_guide/core/optimization_guide_switches.h"
#include "components/optimization_guide/core/optimization_metadata.h"
#include "components/optimization_guide/proto/hints.pb.h"
#include "testing/gtest/include/gtest/gtest.h"
OptimizationGuideDecision;
OptimizationGuideDecisionCallback;
OptimizationMetadata;
Any;
OptimizationType;
namespace commerce {
class PDPMetricsTest : public ShoppingServiceTestBase { … };
TEST_F(PDPMetricsTest, TestPDPIsRecorded) { … }
TEST_F(PDPMetricsTest, TestNoFlags_NotRecorded) { … }
TEST_F(PDPMetricsTest, TestIncognitoPDPIsNotRecorded) { … }
TEST_F(PDPMetricsTest, TestFalseOptGuideResponseIsRecorded) { … }
}