| 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/sessions/session_state.h" | 5 #include "sync/sessions/session_state.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 num_tombstone_updates_downloaded_total); | 70 num_tombstone_updates_downloaded_total); |
| 71 value->SetInteger("numReflectedUpdatesDownloadedTotal", | 71 value->SetInteger("numReflectedUpdatesDownloadedTotal", |
| 72 num_reflected_updates_downloaded_total); | 72 num_reflected_updates_downloaded_total); |
| 73 value->SetInteger("numLocalOverwrites", num_local_overwrites); | 73 value->SetInteger("numLocalOverwrites", num_local_overwrites); |
| 74 value->SetInteger("numServerOverwrites", num_server_overwrites); | 74 value->SetInteger("numServerOverwrites", num_server_overwrites); |
| 75 return value; | 75 return value; |
| 76 } | 76 } |
| 77 | 77 |
| 78 ErrorCounters::ErrorCounters() | 78 ErrorCounters::ErrorCounters() |
| 79 : last_download_updates_result(UNSET), | 79 : last_download_updates_result(UNSET), |
| 80 last_post_commit_result(UNSET), | 80 commit_result(UNSET) { |
| 81 last_process_commit_response_result(UNSET) { | |
| 82 } | 81 } |
| 83 | 82 |
| 84 SyncSessionSnapshot::SyncSessionSnapshot() | 83 SyncSessionSnapshot::SyncSessionSnapshot() |
| 85 : num_server_changes_remaining_(0), | 84 : num_server_changes_remaining_(0), |
| 86 is_share_usable_(false), | 85 is_share_usable_(false), |
| 87 has_more_to_sync_(false), | 86 has_more_to_sync_(false), |
| 88 is_silenced_(false), | 87 is_silenced_(false), |
| 89 num_encryption_conflicts_(0), | 88 num_encryption_conflicts_(0), |
| 90 num_hierarchy_conflicts_(0), | 89 num_hierarchy_conflicts_(0), |
| 91 num_simple_conflicts_(0), | 90 num_simple_conflicts_(0), |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 | 372 |
| 374 PerModelSafeGroupState::PerModelSafeGroupState(bool* dirty_flag) | 373 PerModelSafeGroupState::PerModelSafeGroupState(bool* dirty_flag) |
| 375 : conflict_progress(dirty_flag) { | 374 : conflict_progress(dirty_flag) { |
| 376 } | 375 } |
| 377 | 376 |
| 378 PerModelSafeGroupState::~PerModelSafeGroupState() { | 377 PerModelSafeGroupState::~PerModelSafeGroupState() { |
| 379 } | 378 } |
| 380 | 379 |
| 381 } // namespace sessions | 380 } // namespace sessions |
| 382 } // namespace browser_sync | 381 } // namespace browser_sync |
| OLD | NEW |