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

Side by Side Diff: sync/engine/conflict_resolver.cc

Issue 10398051: [Sync] Replace TalkMediator*/MediatorThread* with PushClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments, fix test Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « jingle/notifier/listener/talk_mediator_unittest.cc ('k') | sync/engine/syncer_proto_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sync/engine/conflict_resolver.h" 5 #include "sync/engine/conflict_resolver.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
11 11
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram.h"
14 #include "sync/engine/syncer.h" 14 #include "sync/engine/syncer.h"
15 #include "sync/engine/syncer_util.h" 15 #include "sync/engine/syncer_util.h"
16 #include "sync/protocol/nigori_specifics.pb.h" 16 #include "sync/protocol/nigori_specifics.pb.h"
17 #include "sync/protocol/service_constants.h"
18 #include "sync/sessions/status_controller.h" 17 #include "sync/sessions/status_controller.h"
19 #include "sync/syncable/syncable.h" 18 #include "sync/syncable/syncable.h"
20 #include "sync/util/cryptographer.h" 19 #include "sync/util/cryptographer.h"
21 20
22 using std::list; 21 using std::list;
23 using std::map; 22 using std::map;
24 using std::set; 23 using std::set;
25 using syncable::BaseTransaction; 24 using syncable::BaseTransaction;
26 using syncable::Directory; 25 using syncable::Directory;
27 using syncable::Entry; 26 using syncable::Entry;
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 forward_progress = true; 415 forward_progress = true;
417 break; 416 break;
418 } 417 }
419 processed_items.insert(id); 418 processed_items.insert(id);
420 } 419 }
421 } 420 }
422 return forward_progress; 421 return forward_progress;
423 } 422 }
424 423
425 } // namespace browser_sync 424 } // namespace browser_sync
OLDNEW
« no previous file with comments | « jingle/notifier/listener/talk_mediator_unittest.cc ('k') | sync/engine/syncer_proto_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698