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

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

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_PROCESSOR_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_PROCESSOR_H_
6 #define COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_PROCESSOR_H_ 6 #define COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_PROCESSOR_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "components/sync/base/model_type.h" 13 #include "components/sync/base/model_type.h"
14 #include "components/sync/engine/model_safe_worker.h" 14 #include "components/sync/engine/model_safe_worker.h"
15 #include "components/sync/engine_impl/model_type_registry.h" 15 #include "components/sync/engine_impl/model_type_registry.h"
16 #include "components/sync/protocol/sync.pb.h" 16 #include "components/sync/protocol/sync.pb.h"
17 17
18 namespace sync_pb { 18 namespace sync_pb {
19 class GetUpdatesMessage;
20 class GetUpdatesResponse; 19 class GetUpdatesResponse;
21 } // namespace sync_pb 20 } // namespace sync_pb
22 21
23 namespace syncer { 22 namespace syncer {
24 23
25 class DebugInfoGetter; 24 class DebugInfoGetter;
26 class GetUpdatesDelegate; 25 class GetUpdatesDelegate;
27 class StatusController; 26 class StatusController;
28 class SyncCycle; 27 class SyncCycle;
29 class SyncCycleContext;
30
31 namespace syncable {
32 class Directory;
33 } // namespace syncable
34 28
35 // This class manages the set of per-type syncer objects. 29 // This class manages the set of per-type syncer objects.
36 // 30 //
37 // It owns these types and hides the details of iterating over all of them. 31 // It owns these types and hides the details of iterating over all of them.
38 // Most methods allow the caller to specify a subset of types on which the 32 // Most methods allow the caller to specify a subset of types on which the
39 // operation is to be applied. It is a logic error if the supplied set of types 33 // operation is to be applied. It is a logic error if the supplied set of types
40 // contains a type which was not previously registered with the manager. 34 // contains a type which was not previously registered with the manager.
41 class GetUpdatesProcessor { 35 class GetUpdatesProcessor {
42 public: 36 public:
43 explicit GetUpdatesProcessor(UpdateHandlerMap* update_handler_map, 37 explicit GetUpdatesProcessor(UpdateHandlerMap* update_handler_map,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 UpdateHandlerMap* update_handler_map_; 96 UpdateHandlerMap* update_handler_map_;
103 97
104 const GetUpdatesDelegate& delegate_; 98 const GetUpdatesDelegate& delegate_;
105 99
106 DISALLOW_COPY_AND_ASSIGN(GetUpdatesProcessor); 100 DISALLOW_COPY_AND_ASSIGN(GetUpdatesProcessor);
107 }; 101 };
108 102
109 } // namespace syncer 103 } // namespace syncer
110 104
111 #endif // COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_PROCESSOR_H_ 105 #endif // COMPONENTS_SYNC_ENGINE_IMPL_GET_UPDATES_PROCESSOR_H_
OLDNEW
« no previous file with comments | « components/sync/engine_impl/events/poll_get_updates_request_event.h ('k') | components/sync/engine_impl/model_type_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698