OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "chrome/browser/sync/sessions/session_state.h" | 5 #include "chrome/browser/sync/sessions/session_state.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 using std::set; | 10 using std::set; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 } | 54 } |
55 | 55 |
56 SyncSourceInfo::SyncSourceInfo() | 56 SyncSourceInfo::SyncSourceInfo() |
57 : updates_source(sync_pb::GetUpdatesCallerInfo::UNKNOWN) {} | 57 : updates_source(sync_pb::GetUpdatesCallerInfo::UNKNOWN) {} |
58 | 58 |
59 SyncSourceInfo::SyncSourceInfo( | 59 SyncSourceInfo::SyncSourceInfo( |
60 const sync_pb::GetUpdatesCallerInfo::GetUpdatesSource& u, | 60 const sync_pb::GetUpdatesCallerInfo::GetUpdatesSource& u, |
61 const TypePayloadMap& t) | 61 const TypePayloadMap& t) |
62 : updates_source(u), types(t) {} | 62 : updates_source(u), types(t) {} |
63 | 63 |
| 64 SyncSourceInfo::~SyncSourceInfo() {} |
| 65 |
64 SyncerStatus::SyncerStatus() | 66 SyncerStatus::SyncerStatus() |
65 : invalid_store(false), | 67 : invalid_store(false), |
66 syncer_stuck(false), | 68 syncer_stuck(false), |
67 syncing(false), | 69 syncing(false), |
68 num_successful_commits(0), | 70 num_successful_commits(0), |
69 num_successful_bookmark_commits(0), | 71 num_successful_bookmark_commits(0), |
70 num_updates_downloaded_total(0), | 72 num_updates_downloaded_total(0), |
71 num_tombstone_updates_downloaded_total(0) { | 73 num_tombstone_updates_downloaded_total(0) { |
72 } | 74 } |
73 | 75 |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 | 305 |
304 PerModelSafeGroupState::PerModelSafeGroupState(bool* dirty_flag) | 306 PerModelSafeGroupState::PerModelSafeGroupState(bool* dirty_flag) |
305 : conflict_progress(dirty_flag) { | 307 : conflict_progress(dirty_flag) { |
306 } | 308 } |
307 | 309 |
308 PerModelSafeGroupState::~PerModelSafeGroupState() { | 310 PerModelSafeGroupState::~PerModelSafeGroupState() { |
309 } | 311 } |
310 | 312 |
311 } // namespace sessions | 313 } // namespace sessions |
312 } // namespace browser_sync | 314 } // namespace browser_sync |
OLD | NEW |