| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 int64 num_server_changes_remaining() const; | 61 int64 num_server_changes_remaining() const; |
| 62 bool is_share_usable() const; | 62 bool is_share_usable() const; |
| 63 syncable::ModelTypeSet initial_sync_ended() const; | 63 syncable::ModelTypeSet initial_sync_ended() const; |
| 64 syncable::ModelTypePayloadMap download_progress_markers() const; | 64 syncable::ModelTypePayloadMap download_progress_markers() const; |
| 65 bool has_more_to_sync() const; | 65 bool has_more_to_sync() const; |
| 66 bool is_silenced() const; | 66 bool is_silenced() const; |
| 67 int num_encryption_conflicts() const; | 67 int num_encryption_conflicts() const; |
| 68 int num_hierarchy_conflicts() const; | 68 int num_hierarchy_conflicts() const; |
| 69 int num_simple_conflicts() const; | 69 int num_simple_conflicts() const; |
| 70 int num_server_conflicts() const; | 70 int num_server_conflicts() const; |
| 71 bool did_commit_items() const; | |
| 72 SyncSourceInfo source() const; | 71 SyncSourceInfo source() const; |
| 73 bool notifications_enabled() const; | 72 bool notifications_enabled() const; |
| 74 size_t num_entries() const; | 73 size_t num_entries() const; |
| 75 base::Time sync_start_time() const; | 74 base::Time sync_start_time() const; |
| 76 bool retry_scheduled() const; | 75 bool retry_scheduled() const; |
| 77 | 76 |
| 78 private: | 77 private: |
| 79 SyncerStatus syncer_status_; | 78 SyncerStatus syncer_status_; |
| 80 ErrorCounters errors_; | 79 ErrorCounters errors_; |
| 81 int64 num_server_changes_remaining_; | 80 int64 num_server_changes_remaining_; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 92 bool notifications_enabled_; | 91 bool notifications_enabled_; |
| 93 size_t num_entries_; | 92 size_t num_entries_; |
| 94 base::Time sync_start_time_; | 93 base::Time sync_start_time_; |
| 95 bool retry_scheduled_; | 94 bool retry_scheduled_; |
| 96 }; | 95 }; |
| 97 | 96 |
| 98 } // namespace sessions | 97 } // namespace sessions |
| 99 } // namespace browser_sync | 98 } // namespace browser_sync |
| 100 | 99 |
| 101 #endif // SYNC_INTERNAL_API_PUBLIC_SESSIONS_SYNC_SESSION_SNAPSHOT_H_ | 100 #endif // SYNC_INTERNAL_API_PUBLIC_SESSIONS_SYNC_SESSION_SNAPSHOT_H_ |
| OLD | NEW |