• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2021 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "components/metrics/structured/project_validator.h"
6 
7 #include <cstdint>
8 
9 #include "components/metrics/structured/enums.h"
10 
11 namespace metrics {
12 namespace structured {
13 
ProjectValidator(uint64_t project_hash,IdType id_type,IdScope id_scope,EventType event_type,int key_rotation_period)14 ProjectValidator::ProjectValidator(uint64_t project_hash,
15                                    IdType id_type,
16                                    IdScope id_scope,
17                                    EventType event_type,
18                                    int key_rotation_period)
19     : project_hash_(project_hash),
20       id_type_(id_type),
21       id_scope_(id_scope),
22       event_type_(event_type),
23       key_rotation_period_(key_rotation_period) {}
24 
25 ProjectValidator::~ProjectValidator() = default;
26 
27 }  // namespace structured
28 }  // namespace metrics
29