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

Side by Side Diff: components/sync/driver/generic_change_processor_factory.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_DRIVER_GENERIC_CHANGE_PROCESSOR_FACTORY_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_GENERIC_CHANGE_PROCESSOR_FACTORY_H_
6 #define COMPONENTS_SYNC_DRIVER_GENERIC_CHANGE_PROCESSOR_FACTORY_H_ 6 #define COMPONENTS_SYNC_DRIVER_GENERIC_CHANGE_PROCESSOR_FACTORY_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "components/sync/base/model_type.h" 12 #include "components/sync/base/model_type.h"
13 #include "components/sync/model/data_type_error_handler.h" 13 #include "components/sync/model/data_type_error_handler.h"
14 14
15 namespace syncer { 15 namespace syncer {
16 16
17 class AttachmentService;
18 class GenericChangeProcessor; 17 class GenericChangeProcessor;
19 class SyncClient; 18 class SyncClient;
20 class SyncMergeResult; 19 class SyncMergeResult;
21 class SyncableService; 20 class SyncableService;
22 struct UserShare; 21 struct UserShare;
23 22
24 // Because GenericChangeProcessors are created and used only from the model 23 // Because GenericChangeProcessors are created and used only from the model
25 // thread, their lifetime is strictly shorter than other components like 24 // thread, their lifetime is strictly shorter than other components like
26 // DataTypeController, which live before / after communication with model 25 // DataTypeController, which live before / after communication with model
27 // threads begins and ends. 26 // threads begins and ends.
(...skipping 14 matching lines...) Expand all
42 const base::WeakPtr<SyncMergeResult>& merge_result, 41 const base::WeakPtr<SyncMergeResult>& merge_result,
43 SyncClient* sync_client); 42 SyncClient* sync_client);
44 43
45 private: 44 private:
46 DISALLOW_COPY_AND_ASSIGN(GenericChangeProcessorFactory); 45 DISALLOW_COPY_AND_ASSIGN(GenericChangeProcessorFactory);
47 }; 46 };
48 47
49 } // namespace syncer 48 } // namespace syncer
50 49
51 #endif // COMPONENTS_SYNC_DRIVER_GENERIC_CHANGE_PROCESSOR_FACTORY_H_ 50 #endif // COMPONENTS_SYNC_DRIVER_GENERIC_CHANGE_PROCESSOR_FACTORY_H_
OLDNEW
« no previous file with comments | « components/sync/driver/generic_change_processor.h ('k') | components/sync/driver/glue/sync_backend_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698