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

Unified Diff: chrome/browser/sync/glue/bookmark_model_associator.h

Issue 15701022: [Sync] Add support for sync Persistence Errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update tests Created 7 years, 6 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 | « no previous file | chrome/browser/sync/glue/bookmark_model_associator.cc » ('j') | sync/api/sync_error.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/bookmark_model_associator.h
diff --git a/chrome/browser/sync/glue/bookmark_model_associator.h b/chrome/browser/sync/glue/bookmark_model_associator.h
index b37bb25c8bcdae025b7c033cdfa392353374ece9..3bf123f6eba4344f185c271ce85606ec052f9bea 100644
--- a/chrome/browser/sync/glue/bookmark_model_associator.h
+++ b/chrome/browser/sync/glue/bookmark_model_associator.h
@@ -141,7 +141,9 @@ class BookmarkModelAssociator
// Check whether bookmark model and sync model are synced by comparing
// their transaction versions.
- void CheckModelSyncState() const;
+ // Returns a PERSISTENCE_ERROR if a transaction mismatch was detected where
+ // the native model has a newer transaction verison.
+ syncer::SyncError CheckModelSyncState() const;
BookmarkModel* bookmark_model_;
Profile* profile_;
« no previous file with comments | « no previous file | chrome/browser/sync/glue/bookmark_model_associator.cc » ('j') | sync/api/sync_error.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698