| OLD | NEW |
| 1 // Copyright (c) 2012 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 "sync/engine/syncer.h" | 5 #include "sync/engine/syncer.h" |
| 6 | 6 |
| 7 #include "base/debug/trace_event.h" | |
| 8 #include "base/location.h" | 7 #include "base/location.h" |
| 9 #include "base/logging.h" | 8 #include "base/logging.h" |
| 10 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 11 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| 11 #include "base/trace_event/trace_event.h" |
| 12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 13 #include "sync/engine/apply_control_data_updates.h" | 13 #include "sync/engine/apply_control_data_updates.h" |
| 14 #include "sync/engine/commit.h" | 14 #include "sync/engine/commit.h" |
| 15 #include "sync/engine/commit_processor.h" | 15 #include "sync/engine/commit_processor.h" |
| 16 #include "sync/engine/conflict_resolver.h" | 16 #include "sync/engine/conflict_resolver.h" |
| 17 #include "sync/engine/get_updates_delegate.h" | 17 #include "sync/engine/get_updates_delegate.h" |
| 18 #include "sync/engine/get_updates_processor.h" | 18 #include "sync/engine/get_updates_processor.h" |
| 19 #include "sync/engine/net/server_connection_manager.h" | 19 #include "sync/engine/net/server_connection_manager.h" |
| 20 #include "sync/engine/syncer_types.h" | 20 #include "sync/engine/syncer_types.h" |
| 21 #include "sync/internal_api/public/base/cancelation_signal.h" | 21 #include "sync/internal_api/public/base/cancelation_signal.h" |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source) { | 202 sync_pb::GetUpdatesCallerInfo::GetUpdatesSource source) { |
| 203 if (!ExitRequested()) { | 203 if (!ExitRequested()) { |
| 204 session->SendSyncCycleEndEventNotification(source); | 204 session->SendSyncCycleEndEventNotification(source); |
| 205 return true; | 205 return true; |
| 206 } else { | 206 } else { |
| 207 return false; | 207 return false; |
| 208 } | 208 } |
| 209 } | 209 } |
| 210 | 210 |
| 211 } // namespace syncer | 211 } // namespace syncer |
| OLD | NEW |