// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "services/network/ad_heuristic_cookie_overrides.h" #include "base/feature_list.h" #include "base/metrics/histogram_functions.h" #include "net/cookies/cookie_setting_override.h" #include "services/network/public/cpp/features.h" namespace network { namespace { // These values are persisted to logs. Entries should not be renumbered and // numeric values should never be reused. enum class AdsHeuristicCookieOverride { … }; void LogCookieOverrideHistogram(AdsHeuristicCookieOverride override) { … } } // namespace // Adds cookie setting overrides for cookie accesses determined to be for // advertising purposes. void AddAdsHeuristicCookieSettingOverrides( bool is_ad_tagged, net::CookieSettingOverrides& overrides) { … } } // namespace network