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

Side by Side Diff: chrome/browser/sync/syncable/syncable.h

Issue 7013040: Add information about sync session and other useful data to about:sync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Upload before commit. Created 9 years, 7 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
« no previous file with comments | « chrome/browser/sync/sync_ui_util.cc ('k') | chrome/browser/sync/syncable/syncable.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SYNCABLE_SYNCABLE_H_ 5 #ifndef CHROME_BROWSER_SYNC_SYNCABLE_SYNCABLE_H_
6 #define CHROME_BROWSER_SYNC_SYNCABLE_SYNCABLE_H_ 6 #define CHROME_BROWSER_SYNC_SYNCABLE_SYNCABLE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <bitset> 10 #include <bitset>
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 bool good() const { return NULL != store_; } 763 bool good() const { return NULL != store_; }
764 764
765 // The download progress is an opaque token provided by the sync server 765 // The download progress is an opaque token provided by the sync server
766 // to indicate the continuation state of the next GetUpdates operation. 766 // to indicate the continuation state of the next GetUpdates operation.
767 void GetDownloadProgress( 767 void GetDownloadProgress(
768 ModelType type, 768 ModelType type,
769 sync_pb::DataTypeProgressMarker* value_out) const; 769 sync_pb::DataTypeProgressMarker* value_out) const;
770 void GetDownloadProgressAsString( 770 void GetDownloadProgressAsString(
771 ModelType type, 771 ModelType type,
772 std::string* value_out) const; 772 std::string* value_out) const;
773 size_t GetEntriesCount() const;
773 void SetDownloadProgress( 774 void SetDownloadProgress(
774 ModelType type, 775 ModelType type,
775 const sync_pb::DataTypeProgressMarker& value); 776 const sync_pb::DataTypeProgressMarker& value);
776 777
777 bool initial_sync_ended_for_type(ModelType type) const; 778 bool initial_sync_ended_for_type(ModelType type) const;
778 void set_initial_sync_ended_for_type(ModelType type, bool value); 779 void set_initial_sync_ended_for_type(ModelType type, bool value);
779 AutofillMigrationState get_autofill_migration_state() const; 780 AutofillMigrationState get_autofill_migration_state() const;
780 781
781 AutofillMigrationDebugInfo get_autofill_migration_debug_info() const; 782 AutofillMigrationDebugInfo get_autofill_migration_debug_info() const;
782 783
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
1172 1173
1173 // This is not a reset. It just sets the numeric fields which are not 1174 // This is not a reset. It just sets the numeric fields which are not
1174 // initialized by the constructor to zero. 1175 // initialized by the constructor to zero.
1175 void ZeroFields(EntryKernel* entry, int first_field); 1176 void ZeroFields(EntryKernel* entry, int first_field);
1176 1177
1177 } // namespace syncable 1178 } // namespace syncable
1178 1179
1179 std::ostream& operator <<(std::ostream&, const syncable::Blob&); 1180 std::ostream& operator <<(std::ostream&, const syncable::Blob&);
1180 1181
1181 #endif // CHROME_BROWSER_SYNC_SYNCABLE_SYNCABLE_H_ 1182 #endif // CHROME_BROWSER_SYNC_SYNCABLE_SYNCABLE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_ui_util.cc ('k') | chrome/browser/sync/syncable/syncable.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698