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 csync { |
11 namespace sessions { | 11 namespace sessions { |
12 | 12 |
13 SyncSessionSnapshot::SyncSessionSnapshot() | 13 SyncSessionSnapshot::SyncSessionSnapshot() |
14 : num_server_changes_remaining_(0), | 14 : is_share_usable_(false), |
15 is_share_usable_(false), | |
16 has_more_to_sync_(false), | 15 has_more_to_sync_(false), |
17 is_silenced_(false), | 16 is_silenced_(false), |
18 num_encryption_conflicts_(0), | 17 num_encryption_conflicts_(0), |
19 num_hierarchy_conflicts_(0), | 18 num_hierarchy_conflicts_(0), |
20 num_simple_conflicts_(0), | 19 num_simple_conflicts_(0), |
21 num_server_conflicts_(0), | 20 num_server_conflicts_(0), |
22 notifications_enabled_(false), | 21 notifications_enabled_(false), |
23 num_entries_(0), | 22 num_entries_(0), |
24 retry_scheduled_(false) { | 23 retry_scheduled_(false) { |
25 } | 24 } |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 base::Time SyncSessionSnapshot::sync_start_time() const { | 164 base::Time SyncSessionSnapshot::sync_start_time() const { |
166 return sync_start_time_; | 165 return sync_start_time_; |
167 } | 166 } |
168 | 167 |
169 bool SyncSessionSnapshot::retry_scheduled() const { | 168 bool SyncSessionSnapshot::retry_scheduled() const { |
170 return retry_scheduled_; | 169 return retry_scheduled_; |
171 } | 170 } |
172 | 171 |
173 } // namespace sessions | 172 } // namespace sessions |
174 } // namespace csync | 173 } // namespace csync |
OLD | NEW |