Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: components/sync/engine_impl/get_updates_processor.cc

Issue 2387553002: [Sync] Removing duplicated includes between cc and h files. (Closed)
Patch Set: Fixing DataTypeStatusTable Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "components/sync/engine_impl/get_updates_processor.h" 5 #include "components/sync/engine_impl/get_updates_processor.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <map>
10
11 #include "base/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
12 #include "components/sync/engine/events/get_updates_response_event.h" 10 #include "components/sync/engine/events/get_updates_response_event.h"
13 #include "components/sync/engine_impl/cycle/status_controller.h" 11 #include "components/sync/engine_impl/cycle/status_controller.h"
14 #include "components/sync/engine_impl/cycle/sync_cycle.h" 12 #include "components/sync/engine_impl/cycle/sync_cycle.h"
15 #include "components/sync/engine_impl/get_updates_delegate.h" 13 #include "components/sync/engine_impl/get_updates_delegate.h"
16 #include "components/sync/engine_impl/syncer_proto_util.h" 14 #include "components/sync/engine_impl/syncer_proto_util.h"
17 #include "components/sync/engine_impl/update_handler.h" 15 #include "components/sync/engine_impl/update_handler.h"
18 #include "components/sync/protocol/sync.pb.h"
19 #include "components/sync/syncable/directory.h" 16 #include "components/sync/syncable/directory.h"
20 #include "components/sync/syncable/nigori_handler.h" 17 #include "components/sync/syncable/nigori_handler.h"
21 #include "components/sync/syncable/syncable_read_transaction.h" 18 #include "components/sync/syncable/syncable_read_transaction.h"
22 19
23 typedef std::vector<const sync_pb::SyncEntity*> SyncEntityList; 20 typedef std::vector<const sync_pb::SyncEntity*> SyncEntityList;
24 typedef std::map<syncer::ModelType, SyncEntityList> TypeSyncEntityMap; 21 typedef std::map<syncer::ModelType, SyncEntityList> TypeSyncEntityMap;
25 22
26 namespace syncer { 23 namespace syncer {
27 24
28 typedef std::map<ModelType, size_t> TypeToIndexMap; 25 typedef std::map<ModelType, size_t> TypeToIndexMap;
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 } 359 }
363 360
364 void GetUpdatesProcessor::CopyClientDebugInfo( 361 void GetUpdatesProcessor::CopyClientDebugInfo(
365 DebugInfoGetter* debug_info_getter, 362 DebugInfoGetter* debug_info_getter,
366 sync_pb::DebugInfo* debug_info) { 363 sync_pb::DebugInfo* debug_info) {
367 DVLOG(1) << "Copying client debug info to send."; 364 DVLOG(1) << "Copying client debug info to send.";
368 debug_info_getter->GetDebugInfo(debug_info); 365 debug_info_getter->GetDebugInfo(debug_info);
369 } 366 }
370 367
371 } // namespace syncer 368 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/engine_impl/get_commit_ids.cc ('k') | components/sync/engine_impl/model_type_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698