| 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 <memory> | |
| 8 #include <utility> | 7 #include <utility> |
| 9 | 8 |
| 10 #include "base/json/json_writer.h" | 9 #include "base/json/json_writer.h" |
| 11 #include "base/values.h" | 10 #include "base/values.h" |
| 12 #include "components/sync/protocol/proto_enum_conversions.h" | 11 #include "components/sync/protocol/proto_enum_conversions.h" |
| 13 | 12 |
| 14 namespace syncer { | 13 namespace syncer { |
| 15 | 14 |
| 16 SyncCycleSnapshot::SyncCycleSnapshot() | 15 SyncCycleSnapshot::SyncCycleSnapshot() |
| 17 : is_silenced_(false), | 16 : is_silenced_(false), |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 const { | 157 const { |
| 159 return num_to_delete_entries_by_type_; | 158 return num_to_delete_entries_by_type_; |
| 160 } | 159 } |
| 161 | 160 |
| 162 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource | 161 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource |
| 163 SyncCycleSnapshot::legacy_updates_source() const { | 162 SyncCycleSnapshot::legacy_updates_source() const { |
| 164 return legacy_updates_source_; | 163 return legacy_updates_source_; |
| 165 } | 164 } |
| 166 | 165 |
| 167 } // namespace syncer | 166 } // namespace syncer |
| OLD | NEW |