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

Side by Side Diff: sync/internal_api/public/engine/sync_status.h

Issue 12256033: Separate invalidator and sync client ID (part 1/2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months 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 | Annotate | Revision Log
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 SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ 5 #ifndef SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_
6 #define SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 ModelTypeSet encrypted_types; 86 ModelTypeSet encrypted_types;
87 bool cryptographer_ready; 87 bool cryptographer_ready;
88 bool crypto_has_pending_keys; 88 bool crypto_has_pending_keys;
89 bool has_keystore_key; 89 bool has_keystore_key;
90 base::Time keystore_migration_time; 90 base::Time keystore_migration_time;
91 PassphraseType passphrase_type; 91 PassphraseType passphrase_type;
92 92
93 // Per-datatype throttled status. 93 // Per-datatype throttled status.
94 ModelTypeSet throttled_types; 94 ModelTypeSet throttled_types;
95 95
96 // The unique identifer for this client. 96 // The unique identifer for the sync store.
97 std::string unique_id; 97 std::string sync_id;
98
99 // The unique identifier for the invalidation client.
100 std::string invalidator_client_id;
98 101
99 // Counters grouped by model type 102 // Counters grouped by model type
100 std::vector<int> num_entries_by_type; 103 std::vector<int> num_entries_by_type;
101 std::vector<int> num_to_delete_entries_by_type; 104 std::vector<int> num_to_delete_entries_by_type;
102 }; 105 };
103 106
104 } // namespace syncer 107 } // namespace syncer
105 108
106 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_ 109 #endif // SYNC_INTERNAL_API_PUBLIC_ENGINE_STATUS_SUMMARY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698