Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Side by Side Diff: components/sync/engine/sync_status.h

Issue 2475043002: [Sync] Sync client should to exponential backoff when receive partial failure (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_
6 #define COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_ 6 #define COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 ModelTypeSet encrypted_types; 74 ModelTypeSet encrypted_types;
75 bool cryptographer_ready; 75 bool cryptographer_ready;
76 bool crypto_has_pending_keys; 76 bool crypto_has_pending_keys;
77 bool has_keystore_key; 77 bool has_keystore_key;
78 base::Time keystore_migration_time; 78 base::Time keystore_migration_time;
79 PassphraseType passphrase_type; 79 PassphraseType passphrase_type;
80 80
81 // Per-datatype throttled status. 81 // Per-datatype throttled status.
82 ModelTypeSet throttled_types; 82 ModelTypeSet throttled_types;
83 83
84 // Per-datatype backed off status.
85 ModelTypeSet backed_off_types;
86
84 // The unique identifer for the sync store. 87 // The unique identifer for the sync store.
85 std::string sync_id; 88 std::string sync_id;
86 89
87 // The unique identifier for the invalidation client. 90 // The unique identifier for the invalidation client.
88 std::string invalidator_client_id; 91 std::string invalidator_client_id;
89 92
90 // Counters grouped by model type 93 // Counters grouped by model type
91 std::vector<int> num_entries_by_type; 94 std::vector<int> num_entries_by_type;
92 std::vector<int> num_to_delete_entries_by_type; 95 std::vector<int> num_to_delete_entries_by_type;
93 96
94 // Time of next retry if sync scheduler is throttled or in backoff. 97 // Time of next retry if sync scheduler is throttled or in backoff.
95 base::Time retry_time; 98 base::Time retry_time;
96 }; 99 };
97 100
98 } // namespace syncer 101 } // namespace syncer
99 102
100 #endif // COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_ 103 #endif // COMPONENTS_SYNC_ENGINE_SYNC_STATUS_H_
OLDNEW
« no previous file with comments | « components/browser_sync/profile_sync_service.cc ('k') | components/sync/engine_impl/all_status.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698