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

Side by Side Diff: components/sync_driver/generic_change_processor.h

Issue 1314903004: Sync: Refactoring DataTypeController to make the design shareable with USS datatypes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed CR comments Created 5 years, 3 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 #ifndef COMPONENTS_SYNC_DRIVER_GENERIC_CHANGE_PROCESSOR_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_GENERIC_CHANGE_PROCESSOR_H_
6 #define COMPONENTS_SYNC_DRIVER_GENERIC_CHANGE_PROCESSOR_H_ 6 #define COMPONENTS_SYNC_DRIVER_GENERIC_CHANGE_PROCESSOR_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/threading/non_thread_safe.h" 12 #include "base/threading/non_thread_safe.h"
13 #include "components/sync_driver/change_processor.h" 13 #include "components/sync_driver/change_processor.h"
14 #include "components/sync_driver/data_type_controller.h"
15 #include "components/sync_driver/data_type_error_handler.h" 14 #include "components/sync_driver/data_type_error_handler.h"
16 #include "sync/api/attachments/attachment_store.h" 15 #include "sync/api/attachments/attachment_store.h"
17 #include "sync/api/sync_change_processor.h" 16 #include "sync/api/sync_change_processor.h"
18 #include "sync/api/sync_merge_result.h" 17 #include "sync/api/sync_merge_result.h"
19 #include "sync/internal_api/public/attachments/attachment_service.h" 18 #include "sync/internal_api/public/attachments/attachment_service.h"
20 #include "sync/internal_api/public/attachments/attachment_service_proxy.h" 19 #include "sync/internal_api/public/attachments/attachment_service_proxy.h"
21 20
22 namespace syncer { 21 namespace syncer {
23 class SyncData; 22 class SyncData;
24 class SyncableService; 23 class SyncableService;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 attachment_service_weak_ptr_factory_; 168 attachment_service_weak_ptr_factory_;
170 syncer::AttachmentServiceProxy attachment_service_proxy_; 169 syncer::AttachmentServiceProxy attachment_service_proxy_;
171 base::WeakPtrFactory<GenericChangeProcessor> weak_ptr_factory_; 170 base::WeakPtrFactory<GenericChangeProcessor> weak_ptr_factory_;
172 171
173 DISALLOW_COPY_AND_ASSIGN(GenericChangeProcessor); 172 DISALLOW_COPY_AND_ASSIGN(GenericChangeProcessor);
174 }; 173 };
175 174
176 } // namespace sync_driver 175 } // namespace sync_driver
177 176
178 #endif // COMPONENTS_SYNC_DRIVER_GENERIC_CHANGE_PROCESSOR_H_ 177 #endif // COMPONENTS_SYNC_DRIVER_GENERIC_CHANGE_PROCESSOR_H_
OLDNEW
« no previous file with comments | « components/sync_driver/frontend_data_type_controller.cc ('k') | components/sync_driver/model_association_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698