OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/cycle/sync_cycle_snapshot.h" | 5 #include "components/sync/engine/cycle/sync_cycle_snapshot.h" |
6 | 6 |
7 #include <stddef.h> | |
8 | |
9 #include <memory> | 7 #include <memory> |
10 #include <utility> | 8 #include <utility> |
11 | 9 |
12 #include "base/json/json_writer.h" | 10 #include "base/json/json_writer.h" |
13 #include "base/values.h" | 11 #include "base/values.h" |
14 #include "components/sync/protocol/proto_enum_conversions.h" | 12 #include "components/sync/protocol/proto_enum_conversions.h" |
15 | 13 |
16 namespace syncer { | 14 namespace syncer { |
17 | 15 |
18 SyncCycleSnapshot::SyncCycleSnapshot() | 16 SyncCycleSnapshot::SyncCycleSnapshot() |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 const { | 158 const { |
161 return num_to_delete_entries_by_type_; | 159 return num_to_delete_entries_by_type_; |
162 } | 160 } |
163 | 161 |
164 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource | 162 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource |
165 SyncCycleSnapshot::legacy_updates_source() const { | 163 SyncCycleSnapshot::legacy_updates_source() const { |
166 return legacy_updates_source_; | 164 return legacy_updates_source_; |
167 } | 165 } |
168 | 166 |
169 } // namespace syncer | 167 } // namespace syncer |
OLD | NEW |