blob: e7020eea0c6c444fa5bf3c12a8cbc8b79b2ec8e8 [file] [log] [blame]
Ankush Singhee2362f2023-08-29 09:42:031// Copyright 2023 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/sync/service/local_data_description.h"
6
7namespace syncer {
8
9LocalDataDescription::LocalDataDescription() = default;
10
Ankush Singhee2362f2023-08-29 09:42:0311LocalDataDescription::LocalDataDescription(const LocalDataDescription&) =
12 default;
13
14LocalDataDescription& LocalDataDescription::operator=(
15 const LocalDataDescription&) = default;
16
17LocalDataDescription::LocalDataDescription(LocalDataDescription&&) = default;
18
19LocalDataDescription& LocalDataDescription::operator=(LocalDataDescription&&) =
20 default;
21
22LocalDataDescription::~LocalDataDescription() = default;
23
Ankush Singh05d8b39e2023-09-08 13:13:3524void PrintTo(const LocalDataDescription& desc, std::ostream* os) {
Victor Hugo Vianna Silvaa408c272024-07-15 14:57:1325 *os << "{ item_count:" << desc.item_count << ", domains:[";
Ankush Singh05d8b39e2023-09-08 13:13:3526 for (const auto& domain : desc.domains) {
27 *os << domain << ",";
28 }
29 *os << "], domain_count:" << desc.domain_count;
30}
31
Ankush Singhee2362f2023-08-29 09:42:0332} // namespace syncer