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

Unified Diff: sync/sessions/status_controller.h

Issue 11190013: sync: Remove UpdateProgress and related code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Formatting improvements Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/sessions/session_state.cc ('k') | sync/sessions/status_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/sessions/status_controller.h
diff --git a/sync/sessions/status_controller.h b/sync/sessions/status_controller.h
index c18fc7d73759dd51bbf3d553da57ec8bf52c92d2..1465dbfdf64afc9f16a9e171dc78c5fa5202f90f 100644
--- a/sync/sessions/status_controller.h
+++ b/sync/sessions/status_controller.h
@@ -55,14 +55,8 @@ class StatusController {
// auto-create.
const std::set<syncable::Id>* simple_conflict_ids() const;
std::set<syncable::Id>* mutable_simple_conflict_ids();
- const UpdateProgress* update_progress() const;
- UpdateProgress* mutable_update_progress();
const std::set<syncable::Id>* GetUnrestrictedSimpleConflictIds(
ModelSafeGroup group) const;
- const UpdateProgress* GetUnrestrictedUpdateProgress(
- ModelSafeGroup group) const;
- UpdateProgress* GetUnrestrictedMutableUpdateProgressForTest(
- ModelSafeGroup group);
// ClientToServer messages.
const ModelTypeSet updates_request_types() const {
@@ -110,6 +104,9 @@ class StatusController {
// Aggregate sum of all conflicting items over all conflict types.
int TotalNumConflictingItems() const;
+ // Number of successfully applied updates.
+ int num_updates_applied() const;
+
// Returns the number of updates received from the sync server.
int64 CountUpdates() const;
« no previous file with comments | « sync/sessions/session_state.cc ('k') | sync/sessions/status_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698