blob: 6418b04420318855d6d6807e5d1b18b660dca542 [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 Singh15b04fc2023-08-31 13:52:0011LocalDataDescription::LocalDataDescription(
12 ModelType type,
13 size_t item_count,
14 const std::vector<std::string>& item_preview)
15 : type(type), item_count(item_count), item_preview(item_preview) {}
16
Ankush Singhee2362f2023-08-29 09:42:0317LocalDataDescription::LocalDataDescription(const LocalDataDescription&) =
18 default;
19
20LocalDataDescription& LocalDataDescription::operator=(
21 const LocalDataDescription&) = default;
22
23LocalDataDescription::LocalDataDescription(LocalDataDescription&&) = default;
24
25LocalDataDescription& LocalDataDescription::operator=(LocalDataDescription&&) =
26 default;
27
28LocalDataDescription::~LocalDataDescription() = default;
29
30} // namespace syncer