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

Side by Side Diff: sync/engine/update_applicator.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
« no previous file with comments | « sync/engine/syncer_util.cc ('k') | sync/internal_api/change_reorder_buffer.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 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/update_applicator.h" 5 #include "sync/engine/update_applicator.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "sync/engine/syncer_util.h" 10 #include "sync/engine/syncer_util.h"
11 #include "sync/syncable/entry.h" 11 #include "sync/syncable/entry.h"
12 #include "sync/syncable/mutable_entry.h" 12 #include "sync/syncable/mutable_entry.h"
13 #include "sync/syncable/syncable_id.h" 13 #include "sync/syncable/syncable_id.h"
14 #include "sync/syncable/write_transaction.h" 14 #include "sync/syncable/syncable_write_transaction.h"
15 15
16 using std::vector; 16 using std::vector;
17 17
18 namespace syncer { 18 namespace syncer {
19 19
20 using syncable::ID; 20 using syncable::ID;
21 21
22 UpdateApplicator::UpdateApplicator(Cryptographer* cryptographer, 22 UpdateApplicator::UpdateApplicator(Cryptographer* cryptographer,
23 const ModelSafeRoutingInfo& routes, 23 const ModelSafeRoutingInfo& routes,
24 ModelSafeGroup group_filter) 24 ModelSafeGroup group_filter)
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 !routing_info_.count(type) && 116 !routing_info_.count(type) &&
117 type != UNSPECIFIED && 117 type != UNSPECIFIED &&
118 type != TOP_LEVEL_FOLDER) { 118 type != TOP_LEVEL_FOLDER) {
119 DVLOG(1) << "Skipping update application, type not permitted."; 119 DVLOG(1) << "Skipping update application, type not permitted.";
120 return true; 120 return true;
121 } 121 }
122 return false; 122 return false;
123 } 123 }
124 124
125 } // namespace syncer 125 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/engine/syncer_util.cc ('k') | sync/internal_api/change_reorder_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698