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

Unified Diff: chrome/browser/sync/engine/conflict_resolver.h

Issue 8638001: [Sync] Made some sync session member functions const (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix latent bug in StatusController Created 9 years, 1 month 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 | « chrome/browser/sync/engine/build_commit_command.cc ('k') | chrome/browser/sync/engine/conflict_resolver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/conflict_resolver.h
diff --git a/chrome/browser/sync/engine/conflict_resolver.h b/chrome/browser/sync/engine/conflict_resolver.h
index 9bec0d530359e6117ea1f1df59ae16880498f066..c622794a89086034fc37679af7b0457fd9c5bfb6 100644
--- a/chrome/browser/sync/engine/conflict_resolver.h
+++ b/chrome/browser/sync/engine/conflict_resolver.h
@@ -26,9 +26,11 @@ class WriteTransaction;
} // namespace syncable
namespace browser_sync {
+
namespace sessions {
+class ConflictProgress;
class StatusController;
-}
+} // namespace sessions
class ConflictResolver {
friend class SyncerTest;
@@ -40,6 +42,7 @@ class ConflictResolver {
// Called by the syncer at the end of a update/commit cycle.
// Returns true if the syncer should try to apply its updates again.
bool ResolveConflicts(const syncable::ScopedDirLookup& dir,
+ const sessions::ConflictProgress& progress,
sessions::StatusController* status);
private:
@@ -70,6 +73,7 @@ class ConflictResolver {
sessions::StatusController* status);
bool ResolveSimpleConflicts(const syncable::ScopedDirLookup& dir,
+ const sessions::ConflictProgress& progress,
sessions::StatusController* status);
bool ProcessConflictSet(syncable::WriteTransaction* trans,
« no previous file with comments | « chrome/browser/sync/engine/build_commit_command.cc ('k') | chrome/browser/sync/engine/conflict_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698