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

Side by Side Diff: sync/engine/process_updates_util.h

Issue 1545553003: Switch to standard integer types in sync/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SYNC_ENGINE_PROCESS_UPDATES_UTIL_H_ 5 #ifndef SYNC_ENGINE_PROCESS_UPDATES_UTIL_H_
6 #define SYNC_ENGINE_PROCESS_UPDATES_UTIL_H_ 6 #define SYNC_ENGINE_PROCESS_UPDATES_UTIL_H_
7 7
8 #include <stdint.h>
9
8 #include <vector> 10 #include <vector>
9 11
10 #include "sync/internal_api/public/base/model_type.h" 12 #include "sync/internal_api/public/base/model_type.h"
11 13
12 namespace sync_pb { 14 namespace sync_pb {
13 class SyncEntity; 15 class SyncEntity;
14 } 16 }
15 17
16 namespace syncer { 18 namespace syncer {
17 19
(...skipping 17 matching lines...) Expand all
35 ModelType type, 37 ModelType type,
36 const SyncEntityList& applicable_updates, 38 const SyncEntityList& applicable_updates,
37 sessions::StatusController* status, 39 sessions::StatusController* status,
38 UpdateCounters* counters); 40 UpdateCounters* counters);
39 41
40 // Tombstones all entries of |type| whose versions are older than 42 // Tombstones all entries of |type| whose versions are older than
41 // |version_watermark| unless they are type root or unsynced/unapplied. 43 // |version_watermark| unless they are type root or unsynced/unapplied.
42 void ExpireEntriesByVersion(syncable::Directory* dir, 44 void ExpireEntriesByVersion(syncable::Directory* dir,
43 syncable::ModelNeutralWriteTransaction* trans, 45 syncable::ModelNeutralWriteTransaction* trans,
44 ModelType type, 46 ModelType type,
45 int64 version_watermark); 47 int64_t version_watermark);
46 48
47 } // namespace syncer 49 } // namespace syncer
48 50
49 #endif // SYNC_ENGINE_PROCESS_UPDATES_UTIL_H_ 51 #endif // SYNC_ENGINE_PROCESS_UPDATES_UTIL_H_
OLDNEW
« no previous file with comments | « sync/engine/non_blocking_type_commit_contribution.cc ('k') | sync/engine/process_updates_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698