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

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

Issue 11638018: [sync] Componentize sync: Part 5: Eliminate filename collisions in sync.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comments Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/apply_updates_and_resolve_conflicts_command.h" 5 #include "sync/engine/apply_updates_and_resolve_conflicts_command.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "sync/engine/conflict_resolver.h" 8 #include "sync/engine/conflict_resolver.h"
9 #include "sync/engine/update_applicator.h" 9 #include "sync/engine/update_applicator.h"
10 #include "sync/sessions/sync_session.h" 10 #include "sync/sessions/sync_session.h"
11 #include "sync/syncable/directory.h" 11 #include "sync/syncable/directory.h"
12 #include "sync/syncable/read_transaction.h" 12 #include "sync/syncable/syncable_read_transaction.h"
13 #include "sync/syncable/write_transaction.h" 13 #include "sync/syncable/syncable_write_transaction.h"
14 14
15 namespace syncer { 15 namespace syncer {
16 16
17 using sessions::SyncSession; 17 using sessions::SyncSession;
18 18
19 ApplyUpdatesAndResolveConflictsCommand:: 19 ApplyUpdatesAndResolveConflictsCommand::
20 ApplyUpdatesAndResolveConflictsCommand() {} 20 ApplyUpdatesAndResolveConflictsCommand() {}
21 ApplyUpdatesAndResolveConflictsCommand:: 21 ApplyUpdatesAndResolveConflictsCommand::
22 ~ApplyUpdatesAndResolveConflictsCommand() {} 22 ~ApplyUpdatesAndResolveConflictsCommand() {}
23 23
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // resolver should have resolved all the conflicts we detected last time 125 // resolver should have resolved all the conflicts we detected last time
126 // and, by the two previous assertions, that no conflicts have been 126 // and, by the two previous assertions, that no conflicts have been
127 // downgraded from encryption or hierarchy down to simple. 127 // downgraded from encryption or hierarchy down to simple.
128 DCHECK(conflict_applicator.simple_conflict_ids().empty()); 128 DCHECK(conflict_applicator.simple_conflict_ids().empty());
129 } 129 }
130 130
131 return SYNCER_OK; 131 return SYNCER_OK;
132 } 132 }
133 133
134 } // namespace syncer 134 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698