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

Side by Side Diff: chrome/browser/sync/internal_api/sync_manager.h

Issue 8590030: Revert "[Sync] Add version info to about:sync" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_ 5 #ifndef CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_
6 #define CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_ 6 #define CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 int empty_get_updates; 154 int empty_get_updates;
155 155
156 // Count of useless and useful syncs we perform. 156 // Count of useless and useful syncs we perform.
157 int useless_sync_cycles; 157 int useless_sync_cycles;
158 int useful_sync_cycles; 158 int useful_sync_cycles;
159 159
160 // Encryption related. 160 // Encryption related.
161 syncable::ModelTypeSet encrypted_types; 161 syncable::ModelTypeSet encrypted_types;
162 bool cryptographer_ready; 162 bool cryptographer_ready;
163 bool crypto_has_pending_keys; 163 bool crypto_has_pending_keys;
164
165 // The unique identifer for this client.
166 std::string unique_id;
167 }; 164 };
168 165
169 // An interface the embedding application implements to be notified 166 // An interface the embedding application implements to be notified
170 // on change events. Note that these methods may be called on *any* 167 // on change events. Note that these methods may be called on *any*
171 // thread. 168 // thread.
172 class ChangeDelegate { 169 class ChangeDelegate {
173 public: 170 public:
174 // Notify the delegate that changes have been applied to the sync model. 171 // Notify the delegate that changes have been applied to the sync model.
175 // 172 //
176 // This will be invoked on the same thread as on which ApplyChanges was 173 // This will be invoked on the same thread as on which ApplyChanges was
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 syncable::ModelTypeSet GetTypesWithEmptyProgressMarkerToken( 598 syncable::ModelTypeSet GetTypesWithEmptyProgressMarkerToken(
602 const syncable::ModelTypeSet types, 599 const syncable::ModelTypeSet types,
603 sync_api::UserShare* share); 600 sync_api::UserShare* share);
604 601
605 // Returns the string representation of a PassphraseRequiredReason value. 602 // Returns the string representation of a PassphraseRequiredReason value.
606 std::string PassphraseRequiredReasonToString(PassphraseRequiredReason reason); 603 std::string PassphraseRequiredReasonToString(PassphraseRequiredReason reason);
607 604
608 } // namespace sync_api 605 } // namespace sync_api
609 606
610 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_ 607 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_SYNC_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/all_status.cc ('k') | chrome/browser/sync/internal_api/sync_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698