OLD | NEW |
1 // Copyright (c) 2011 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 "chrome/browser/sync/syncable/model_type_payload_map.h" | 5 #include "sync/syncable/model_type_payload_map.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/json/json_writer.h" | 9 #include "base/json/json_writer.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/values.h" | 11 #include "base/values.h" |
12 | 12 |
13 using browser_sync::ModelSafeRoutingInfo; | 13 using browser_sync::ModelSafeRoutingInfo; |
14 namespace syncable { | 14 namespace syncable { |
15 | 15 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 } | 91 } |
92 | 92 |
93 for (std::vector<ModelTypePayloadMap::iterator>::iterator | 93 for (std::vector<ModelTypePayloadMap::iterator>::iterator |
94 it = iterators_to_delete.begin(); it != iterators_to_delete.end(); | 94 it = iterators_to_delete.begin(); it != iterators_to_delete.end(); |
95 ++it) { | 95 ++it) { |
96 original->erase(*it); | 96 original->erase(*it); |
97 } | 97 } |
98 } | 98 } |
99 | 99 |
100 } // namespace syncable | 100 } // namespace syncable |
OLD | NEW |