| OLD | NEW |
| 1 // Copyright 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/commit.h" | 5 #include "sync/engine/commit.h" |
| 6 | 6 |
| 7 #include "base/debug/trace_event.h" | 7 #include "base/trace_event/trace_event.h" |
| 8 #include "sync/engine/commit_contribution.h" | 8 #include "sync/engine/commit_contribution.h" |
| 9 #include "sync/engine/commit_processor.h" | 9 #include "sync/engine/commit_processor.h" |
| 10 #include "sync/engine/commit_util.h" | 10 #include "sync/engine/commit_util.h" |
| 11 #include "sync/engine/syncer.h" | 11 #include "sync/engine/syncer.h" |
| 12 #include "sync/engine/syncer_proto_util.h" | 12 #include "sync/engine/syncer_proto_util.h" |
| 13 #include "sync/internal_api/public/events/commit_request_event.h" | 13 #include "sync/internal_api/public/events/commit_request_event.h" |
| 14 #include "sync/internal_api/public/events/commit_response_event.h" | 14 #include "sync/internal_api/public/events/commit_response_event.h" |
| 15 #include "sync/sessions/sync_session.h" | 15 #include "sync/sessions/sync_session.h" |
| 16 | 16 |
| 17 namespace syncer { | 17 namespace syncer { |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 169 |
| 170 void Commit::CleanUp() { | 170 void Commit::CleanUp() { |
| 171 for (ContributionMap::iterator it = contributions_.begin(); | 171 for (ContributionMap::iterator it = contributions_.begin(); |
| 172 it != contributions_.end(); ++it) { | 172 it != contributions_.end(); ++it) { |
| 173 it->second->CleanUp(); | 173 it->second->CleanUp(); |
| 174 } | 174 } |
| 175 cleaned_up_ = true; | 175 cleaned_up_ = true; |
| 176 } | 176 } |
| 177 | 177 |
| 178 } // namespace syncer | 178 } // namespace syncer |
| OLD | NEW |