| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |