Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(746)

Unified Diff: sync/engine/process_updates_util.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/engine/nudge_source.cc ('k') | sync/engine/process_updates_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/process_updates_util.h
diff --git a/sync/engine/process_updates_util.h b/sync/engine/process_updates_util.h
deleted file mode 100644
index 48fa802379875bfba760b7a64b23ca389558303e..0000000000000000000000000000000000000000
--- a/sync/engine/process_updates_util.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SYNC_ENGINE_PROCESS_UPDATES_UTIL_H_
-#define SYNC_ENGINE_PROCESS_UPDATES_UTIL_H_
-
-#include <stdint.h>
-
-#include <vector>
-
-#include "sync/internal_api/public/base/model_type.h"
-
-namespace sync_pb {
-class SyncEntity;
-}
-
-namespace syncer {
-
-namespace sessions {
-class StatusController;
-}
-
-namespace syncable {
-class ModelNeutralWriteTransaction;
-class Directory;
-}
-
-struct UpdateCounters;
-
-typedef std::vector<const sync_pb::SyncEntity*> SyncEntityList;
-
-// Processes all the updates associated with a single ModelType.
-void ProcessDownloadedUpdates(
- syncable::Directory* dir,
- syncable::ModelNeutralWriteTransaction* trans,
- ModelType type,
- const SyncEntityList& applicable_updates,
- sessions::StatusController* status,
- UpdateCounters* counters);
-
-// Tombstones all entries of |type| whose versions are older than
-// |version_watermark| unless they are type root or unsynced/unapplied.
-void ExpireEntriesByVersion(syncable::Directory* dir,
- syncable::ModelNeutralWriteTransaction* trans,
- ModelType type,
- int64_t version_watermark);
-
-} // namespace syncer
-
-#endif // SYNC_ENGINE_PROCESS_UPDATES_UTIL_H_
« no previous file with comments | « sync/engine/nudge_source.cc ('k') | sync/engine/process_updates_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698