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

Side by Side Diff: sync/engine/apply_control_data_updates.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_control_data_updates.h" 5 #include "sync/engine/apply_control_data_updates.h"
6 6
7 #include "base/metrics/histogram.h" 7 #include "base/metrics/histogram.h"
8 #include "sync/engine/conflict_resolver.h" 8 #include "sync/engine/conflict_resolver.h"
9 #include "sync/engine/conflict_util.h" 9 #include "sync/engine/conflict_util.h"
10 #include "sync/engine/syncer_util.h" 10 #include "sync/engine/syncer_util.h"
11 #include "sync/syncable/directory.h" 11 #include "sync/syncable/directory.h"
12 #include "sync/syncable/mutable_entry.h" 12 #include "sync/syncable/mutable_entry.h"
13 #include "sync/syncable/nigori_handler.h" 13 #include "sync/syncable/nigori_handler.h"
14 #include "sync/syncable/nigori_util.h" 14 #include "sync/syncable/nigori_util.h"
15 #include "sync/syncable/write_transaction.h" 15 #include "sync/syncable/syncable_write_transaction.h"
16 #include "sync/util/cryptographer.h" 16 #include "sync/util/cryptographer.h"
17 17
18 namespace syncer { 18 namespace syncer {
19 19
20 using syncable::GET_BY_SERVER_TAG; 20 using syncable::GET_BY_SERVER_TAG;
21 using syncable::IS_UNAPPLIED_UPDATE; 21 using syncable::IS_UNAPPLIED_UPDATE;
22 using syncable::IS_UNSYNCED; 22 using syncable::IS_UNSYNCED;
23 using syncable::SERVER_SPECIFICS; 23 using syncable::SERVER_SPECIFICS;
24 using syncable::SPECIFICS; 24 using syncable::SPECIFICS;
25 using syncable::SYNCER; 25 using syncable::SYNCER;
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 ConflictResolver::OVERWRITE_LOCAL, 213 ConflictResolver::OVERWRITE_LOCAL,
214 ConflictResolver::CONFLICT_RESOLUTION_SIZE); 214 ConflictResolver::CONFLICT_RESOLUTION_SIZE);
215 } 215 }
216 216
217 UpdateAttemptResponse response = AttemptToUpdateEntry( 217 UpdateAttemptResponse response = AttemptToUpdateEntry(
218 trans, entry, cryptographer); 218 trans, entry, cryptographer);
219 DCHECK_EQ(SUCCESS, response); 219 DCHECK_EQ(SUCCESS, response);
220 } 220 }
221 221
222 } // namespace syncer 222 } // namespace syncer
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_service_autofill_unittest.cc ('k') | sync/engine/apply_control_data_updates_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698