[sync] Add methods in SyncService to query local data and trigger upload
This CL introduces API in SyncService to query local data (data in the
local model/store) and to trigger upload of the local data to the
account. Note that the method has not been implemented yet.
Bug: 1451508
Change-Id: Ia96f1169715830c9638b1755afe5084c712e0fea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4818367
Reviewed-by: Marc Treib <[email protected]>
Commit-Queue: Ankush Singh <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1189420}
diff --git a/components/sync/service/local_data_description.cc b/components/sync/service/local_data_description.cc
new file mode 100644
index 0000000..3db7504
--- /dev/null
+++ b/components/sync/service/local_data_description.cc
@@ -0,0 +1,24 @@
+// Copyright 2023 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/sync/service/local_data_description.h"
+
+namespace syncer {
+
+LocalDataDescription::LocalDataDescription() = default;
+
+LocalDataDescription::LocalDataDescription(const LocalDataDescription&) =
+ default;
+
+LocalDataDescription& LocalDataDescription::operator=(
+ const LocalDataDescription&) = default;
+
+LocalDataDescription::LocalDataDescription(LocalDataDescription&&) = default;
+
+LocalDataDescription& LocalDataDescription::operator=(LocalDataDescription&&) =
+ default;
+
+LocalDataDescription::~LocalDataDescription() = default;
+
+} // namespace syncer