OLD | NEW |
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 #include "components/sync/engine_impl/process_updates_util.h" | 5 #include "components/sync/engine_impl/process_updates_util.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | |
9 | 8 |
10 #include <string> | 9 #include <string> |
11 | 10 |
12 #include "base/location.h" | 11 #include "base/location.h" |
13 #include "base/metrics/sparse_histogram.h" | 12 #include "base/metrics/sparse_histogram.h" |
14 #include "components/sync/base/cryptographer.h" | 13 #include "components/sync/base/cryptographer.h" |
15 #include "components/sync/base/data_type_histogram.h" | 14 #include "components/sync/base/data_type_histogram.h" |
16 #include "components/sync/engine/cycle/update_counters.h" | 15 #include "components/sync/engine/cycle/update_counters.h" |
17 #include "components/sync/engine_impl/syncer_proto_util.h" | 16 #include "components/sync/engine_impl/syncer_proto_util.h" |
18 #include "components/sync/engine_impl/syncer_types.h" | 17 #include "components/sync/engine_impl/syncer_types.h" |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 | 325 |
327 // Mark entry as unapplied update first to ensure journaling the deletion. | 326 // Mark entry as unapplied update first to ensure journaling the deletion. |
328 entry.PutIsUnappliedUpdate(true); | 327 entry.PutIsUnappliedUpdate(true); |
329 // Mark entry as deleted by server. | 328 // Mark entry as deleted by server. |
330 entry.PutServerIsDel(true); | 329 entry.PutServerIsDel(true); |
331 entry.PutServerVersion(version_watermark); | 330 entry.PutServerVersion(version_watermark); |
332 } | 331 } |
333 } | 332 } |
334 | 333 |
335 } // namespace syncer | 334 } // namespace syncer |
OLD | NEW |