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 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 unsynced_count(0), | 699 unsynced_count(0), |
700 encryption_conflicts(0), | 700 encryption_conflicts(0), |
701 hierarchy_conflicts(0), | 701 hierarchy_conflicts(0), |
702 simple_conflicts(0), | 702 simple_conflicts(0), |
703 server_conflicts(0), | 703 server_conflicts(0), |
704 committed_count(0), | 704 committed_count(0), |
705 syncing(false), | 705 syncing(false), |
706 initial_sync_ended(false), | 706 initial_sync_ended(false), |
707 updates_available(0), | 707 updates_available(0), |
708 updates_received(0), | 708 updates_received(0), |
| 709 echo_updates_received(0), |
709 tombstone_updates_received(0), | 710 tombstone_updates_received(0), |
710 num_local_overwrites_total(0), | 711 num_local_overwrites_total(0), |
711 num_server_overwrites_total(0), | 712 num_server_overwrites_total(0), |
712 nonempty_get_updates(0), | 713 nonempty_get_updates(0), |
713 empty_get_updates(0), | 714 empty_get_updates(0), |
714 sync_cycles_with_commits(0), | 715 sync_cycles_with_commits(0), |
715 sync_cycles_without_commits(0), | 716 sync_cycles_without_commits(0), |
716 useless_sync_cycles(0), | 717 useless_sync_cycles(0), |
717 useful_sync_cycles(0), | 718 useful_sync_cycles(0), |
718 cryptographer_ready(false), | 719 cryptographer_ready(false), |
(...skipping 1770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2489 share->directory->GetDownloadProgress(i.Get(), &marker); | 2490 share->directory->GetDownloadProgress(i.Get(), &marker); |
2490 | 2491 |
2491 if (marker.token().empty()) | 2492 if (marker.token().empty()) |
2492 result.Put(i.Get()); | 2493 result.Put(i.Get()); |
2493 | 2494 |
2494 } | 2495 } |
2495 return result; | 2496 return result; |
2496 } | 2497 } |
2497 | 2498 |
2498 } // namespace sync_api | 2499 } // namespace sync_api |
OLD | NEW |