blob: 9e388816a6fa8c6beaba2b26e09e8583c9a3ac6e [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_ATTRIBUTION_REPORTING_ATTRIBUTION_COOKIE_CHECKER_H_
#define CONTENT_BROWSER_ATTRIBUTION_REPORTING_ATTRIBUTION_COOKIE_CHECKER_H_
#include "base/callback_forward.h"
namespace url {
class Origin;
} // namespace url
namespace content {
class AttributionCookieChecker {
public:
virtual ~AttributionCookieChecker() = default;
// Checks if an attribution debug key is set for `origin`.
virtual void IsDebugCookieSet(const url::Origin& origin,
base::OnceCallback<void(bool)> callback) = 0;
};
} // namespace content
#endif // CONTENT_BROWSER_ATTRIBUTION_REPORTING_ATTRIBUTION_COOKIE_CHECKER_H_