Files
rk35xx-android14/external/cronet/components/metrics/structured/project_validator.cc
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

29 lines
870 B
C++

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/metrics/structured/project_validator.h"
#include <cstdint>
#include "components/metrics/structured/enums.h"
namespace metrics {
namespace structured {
ProjectValidator::ProjectValidator(uint64_t project_hash,
IdType id_type,
IdScope id_scope,
EventType event_type,
int key_rotation_period)
: project_hash_(project_hash),
id_type_(id_type),
id_scope_(id_scope),
event_type_(event_type),
key_rotation_period_(key_rotation_period) {}
ProjectValidator::~ProjectValidator() = default;
} // namespace structured
} // namespace metrics