#include "build/build_config.h"
#include "chrome/common/privacy_budget/scoped_privacy_budget_config.h"
#include "chrome/test/base/chrome_test_utils.h"
#include "chrome/test/base/platform_browser_test.h"
#include "components/ukm/test_ukm_recorder.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/test_utils.h"
#include "services/metrics/public/cpp/ukm_builders.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/privacy_budget/identifiable_surface.h"
namespace {
StringToInt64;
StringToUint64;
IdentifiableSurface;
constexpr char kFingerprintingScriptUrlSwitch[] = …;
constexpr char kFingerprintExpectationSwitch[] = …;
constexpr char kInputKeyExpectationSwitch[] = …;
constexpr char kValueExpectationSwitch[] = …;
class DISABLED_CanvasInputKeyBrowserTest : public PlatformBrowserTest { … };
struct MetricKeyValue { … };
template <typename MapType>
std::optional<MetricKeyValue> ExtractKeyOfType(IdentifiableSurface::Type type,
const MapType& metrics) { … }
IN_PROC_BROWSER_TEST_F(DISABLED_CanvasInputKeyBrowserTest,
TestCanvasFingerprint) { … }
}