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