| 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 "sync/internal_api/public/sessions/sync_session_snapshot.h" | 5 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/json/json_writer.h" | 9 #include "base/json/json_writer.h" |
| 8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/values.h" | 11 #include "base/values.h" |
| 10 #include "sync/protocol/proto_enum_conversions.h" | 12 #include "sync/protocol/proto_enum_conversions.h" |
| 11 | 13 |
| 12 namespace syncer { | 14 namespace syncer { |
| 13 namespace sessions { | 15 namespace sessions { |
| 14 | 16 |
| 15 SyncSessionSnapshot::SyncSessionSnapshot() | 17 SyncSessionSnapshot::SyncSessionSnapshot() |
| 16 : is_silenced_(false), | 18 : is_silenced_(false), |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 return num_to_delete_entries_by_type_; | 161 return num_to_delete_entries_by_type_; |
| 160 } | 162 } |
| 161 | 163 |
| 162 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource | 164 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource |
| 163 SyncSessionSnapshot::legacy_updates_source() const { | 165 SyncSessionSnapshot::legacy_updates_source() const { |
| 164 return legacy_updates_source_; | 166 return legacy_updates_source_; |
| 165 } | 167 } |
| 166 | 168 |
| 167 } // namespace sessions | 169 } // namespace sessions |
| 168 } // namespace syncer | 170 } // namespace syncer |
| OLD | NEW |