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

Unified Diff: chrome/browser/sync/sessions/ordered_commit_set.h

Issue 8922015: [Sync] Don't commit items with predecessors/parents in conflict. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years 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: chrome/browser/sync/sessions/ordered_commit_set.h
diff --git a/chrome/browser/sync/sessions/ordered_commit_set.h b/chrome/browser/sync/sessions/ordered_commit_set.h
index bce2246cdea3d66a8efa2a07f3ebb6eba5f220f7..3c9118da16159327859730cc3efe794b725f0a26 100644
--- a/chrome/browser/sync/sessions/ordered_commit_set.h
+++ b/chrome/browser/sync/sessions/ordered_commit_set.h
@@ -40,6 +40,8 @@ class OrderedCommitSet {
void AddCommitItem(const int64 metahandle, const syncable::Id& commit_id,
syncable::ModelType type);
+ void Clear();
+
const std::vector<syncable::Id>& GetAllCommitIds() const {
return commit_ids_;
}

Powered by Google App Engine
This is Rietveld 408576698