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 "chrome/browser/sync/internal_api/sync_manager.h" | 5 #include "chrome/browser/sync/internal_api/sync_manager.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/base64.h" | 9 #include "base/base64.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
698 unsynced_count(0), | 698 unsynced_count(0), |
699 encryption_conflicts(0), | 699 encryption_conflicts(0), |
700 hierarchy_conflicts(0), | 700 hierarchy_conflicts(0), |
701 simple_conflicts(0), | 701 simple_conflicts(0), |
702 server_conflicts(0), | 702 server_conflicts(0), |
703 committed_count(0), | 703 committed_count(0), |
704 syncing(false), | 704 syncing(false), |
705 initial_sync_ended(false), | 705 initial_sync_ended(false), |
706 updates_available(0), | 706 updates_available(0), |
707 updates_received(0), | 707 updates_received(0), |
| 708 reflected_updates_received(0), |
708 tombstone_updates_received(0), | 709 tombstone_updates_received(0), |
709 num_local_overwrites_total(0), | 710 num_local_overwrites_total(0), |
710 num_server_overwrites_total(0), | 711 num_server_overwrites_total(0), |
711 nonempty_get_updates(0), | 712 nonempty_get_updates(0), |
712 empty_get_updates(0), | 713 empty_get_updates(0), |
713 sync_cycles_with_commits(0), | 714 sync_cycles_with_commits(0), |
714 sync_cycles_without_commits(0), | 715 sync_cycles_without_commits(0), |
715 useless_sync_cycles(0), | 716 useless_sync_cycles(0), |
716 useful_sync_cycles(0), | 717 useful_sync_cycles(0), |
717 cryptographer_ready(false), | 718 cryptographer_ready(false), |
(...skipping 1781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2499 share->directory->GetDownloadProgress(i.Get(), &marker); | 2500 share->directory->GetDownloadProgress(i.Get(), &marker); |
2500 | 2501 |
2501 if (marker.token().empty()) | 2502 if (marker.token().empty()) |
2502 result.Put(i.Get()); | 2503 result.Put(i.Get()); |
2503 | 2504 |
2504 } | 2505 } |
2505 return result; | 2506 return result; |
2506 } | 2507 } |
2507 | 2508 |
2508 } // namespace sync_api | 2509 } // namespace sync_api |
OLD | NEW |