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

Unified Diff: sync/sessions/status_controller.h

Issue 11192071: sync: Merge apply updates and resolve conflicts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: sync/sessions/status_controller.h
diff --git a/sync/sessions/status_controller.h b/sync/sessions/status_controller.h
index 1465dbfdf64afc9f16a9e171dc78c5fa5202f90f..0717b6eb0fed1472009966aed2276c9a3afec839 100644
--- a/sync/sessions/status_controller.h
+++ b/sync/sessions/status_controller.h
@@ -107,6 +107,8 @@ class StatusController {
// Number of successfully applied updates.
int num_updates_applied() const;
+ int num_server_overwrites() const;
+
// Returns the number of updates received from the sync server.
int64 CountUpdates() const;
@@ -151,10 +153,10 @@ class StatusController {
void increment_num_reflected_updates_downloaded_by(int value);
// Update application and conflict resolution counters.
- void increment_num_updates_applied();
- void increment_num_encryption_conflicts();
+ void increment_num_updates_applied_by(int value);
+ void increment_num_encryption_conflicts_by(int value);
+ void increment_num_hierarchy_conflicts_by(int value);
void increment_num_server_conflicts();
- void set_num_hierarchy_conflicts(int value);
void increment_num_local_overwrites();
void increment_num_server_overwrites();

Powered by Google App Engine
This is Rietveld 408576698