1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
content / browser / attribution_reporting / attribution_input_event.cc [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.
#include "content/browser/attribution_reporting/attribution_input_event.h"
#include "build/build_config.h"
#include "build/buildflag.h"
namespace content {
AttributionInputEvent::AttributionInputEvent() = default;
AttributionInputEvent::~AttributionInputEvent() = default;
AttributionInputEvent::AttributionInputEvent(const AttributionInputEvent&) =
default;
AttributionInputEvent& AttributionInputEvent::operator=(
const AttributionInputEvent&) = default;
AttributionInputEvent::AttributionInputEvent(AttributionInputEvent&&) = default;
AttributionInputEvent& AttributionInputEvent::operator=(
AttributionInputEvent&&) = default;
bool AttributionInputEvent::operator==(
const AttributionInputEvent& other) const {
#if BUILDFLAG(IS_ANDROID)
return input_event_id == other.input_event_id;
#else
return true;
#endif
}
} // namespace content