| 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 "base/json/json_writer.h" | 7 #include "base/json/json_writer.h" |
| 8 #include "base/values.h" | 8 #include "base/values.h" |
| 9 | 9 |
| 10 namespace csync { | 10 namespace syncer { |
| 11 namespace sessions { | 11 namespace sessions { |
| 12 | 12 |
| 13 SyncSessionSnapshot::SyncSessionSnapshot() | 13 SyncSessionSnapshot::SyncSessionSnapshot() |
| 14 : is_share_usable_(false), | 14 : is_share_usable_(false), |
| 15 has_more_to_sync_(false), | 15 has_more_to_sync_(false), |
| 16 is_silenced_(false), | 16 is_silenced_(false), |
| 17 num_encryption_conflicts_(0), | 17 num_encryption_conflicts_(0), |
| 18 num_hierarchy_conflicts_(0), | 18 num_hierarchy_conflicts_(0), |
| 19 num_simple_conflicts_(0), | 19 num_simple_conflicts_(0), |
| 20 num_server_conflicts_(0), | 20 num_server_conflicts_(0), |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 | 163 |
| 164 base::Time SyncSessionSnapshot::sync_start_time() const { | 164 base::Time SyncSessionSnapshot::sync_start_time() const { |
| 165 return sync_start_time_; | 165 return sync_start_time_; |
| 166 } | 166 } |
| 167 | 167 |
| 168 bool SyncSessionSnapshot::retry_scheduled() const { | 168 bool SyncSessionSnapshot::retry_scheduled() const { |
| 169 return retry_scheduled_; | 169 return retry_scheduled_; |
| 170 } | 170 } |
| 171 | 171 |
| 172 } // namespace sessions | 172 } // namespace sessions |
| 173 } // namespace csync | 173 } // namespace syncer |
| OLD | NEW |