| 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 #ifndef SYNC_INTERNAL_API_PUBLIC_SESSIONS_SYNC_SESSION_SNAPSHOT_H_ | 5 #ifndef SYNC_INTERNAL_API_PUBLIC_SESSIONS_SYNC_SESSION_SNAPSHOT_H_ |
| 6 #define SYNC_INTERNAL_API_PUBLIC_SESSIONS_SYNC_SESSION_SNAPSHOT_H_ | 6 #define SYNC_INTERNAL_API_PUBLIC_SESSIONS_SYNC_SESSION_SNAPSHOT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 int num_simple_conflicts() const; | 67 int num_simple_conflicts() const; |
| 68 int num_server_conflicts() const; | 68 int num_server_conflicts() const; |
| 69 SyncSourceInfo source() const; | 69 SyncSourceInfo source() const; |
| 70 bool notifications_enabled() const; | 70 bool notifications_enabled() const; |
| 71 size_t num_entries() const; | 71 size_t num_entries() const; |
| 72 base::Time sync_start_time() const; | 72 base::Time sync_start_time() const; |
| 73 bool retry_scheduled() const; | 73 bool retry_scheduled() const; |
| 74 | 74 |
| 75 private: | 75 private: |
| 76 ModelNeutralState model_neutral_state_; | 76 ModelNeutralState model_neutral_state_; |
| 77 int64 num_server_changes_remaining_; | |
| 78 bool is_share_usable_; | 77 bool is_share_usable_; |
| 79 syncable::ModelTypeSet initial_sync_ended_; | 78 syncable::ModelTypeSet initial_sync_ended_; |
| 80 syncable::ModelTypePayloadMap download_progress_markers_; | 79 syncable::ModelTypePayloadMap download_progress_markers_; |
| 81 bool has_more_to_sync_; | 80 bool has_more_to_sync_; |
| 82 bool is_silenced_; | 81 bool is_silenced_; |
| 83 int num_encryption_conflicts_; | 82 int num_encryption_conflicts_; |
| 84 int num_hierarchy_conflicts_; | 83 int num_hierarchy_conflicts_; |
| 85 int num_simple_conflicts_; | 84 int num_simple_conflicts_; |
| 86 int num_server_conflicts_; | 85 int num_server_conflicts_; |
| 87 SyncSourceInfo source_; | 86 SyncSourceInfo source_; |
| 88 bool notifications_enabled_; | 87 bool notifications_enabled_; |
| 89 size_t num_entries_; | 88 size_t num_entries_; |
| 90 base::Time sync_start_time_; | 89 base::Time sync_start_time_; |
| 91 bool retry_scheduled_; | 90 bool retry_scheduled_; |
| 92 }; | 91 }; |
| 93 | 92 |
| 94 } // namespace sessions | 93 } // namespace sessions |
| 95 } // namespace csync | 94 } // namespace csync |
| 96 | 95 |
| 97 #endif // SYNC_INTERNAL_API_PUBLIC_SESSIONS_SYNC_SESSION_SNAPSHOT_H_ | 96 #endif // SYNC_INTERNAL_API_PUBLIC_SESSIONS_SYNC_SESSION_SNAPSHOT_H_ |
| OLD | NEW |