OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/get_updates_processor.h" | 5 #include "sync/engine/get_updates_processor.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <map> | 9 #include <map> |
8 | 10 |
9 #include "base/trace_event/trace_event.h" | 11 #include "base/trace_event/trace_event.h" |
10 #include "sync/engine/get_updates_delegate.h" | 12 #include "sync/engine/get_updates_delegate.h" |
11 #include "sync/engine/syncer_proto_util.h" | 13 #include "sync/engine/syncer_proto_util.h" |
12 #include "sync/engine/update_handler.h" | 14 #include "sync/engine/update_handler.h" |
13 #include "sync/internal_api/public/events/get_updates_response_event.h" | 15 #include "sync/internal_api/public/events/get_updates_response_event.h" |
14 #include "sync/protocol/sync.pb.h" | 16 #include "sync/protocol/sync.pb.h" |
15 #include "sync/sessions/status_controller.h" | 17 #include "sync/sessions/status_controller.h" |
16 #include "sync/sessions/sync_session.h" | 18 #include "sync/sessions/sync_session.h" |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 } | 374 } |
373 | 375 |
374 void GetUpdatesProcessor::CopyClientDebugInfo( | 376 void GetUpdatesProcessor::CopyClientDebugInfo( |
375 sessions::DebugInfoGetter* debug_info_getter, | 377 sessions::DebugInfoGetter* debug_info_getter, |
376 sync_pb::DebugInfo* debug_info) { | 378 sync_pb::DebugInfo* debug_info) { |
377 DVLOG(1) << "Copying client debug info to send."; | 379 DVLOG(1) << "Copying client debug info to send."; |
378 debug_info_getter->GetDebugInfo(debug_info); | 380 debug_info_getter->GetDebugInfo(debug_info); |
379 } | 381 } |
380 | 382 |
381 } // namespace syncer | 383 } // namespace syncer |
OLD | NEW |