Index: chrome/browser/sync/glue/generic_change_processor.h |
diff --git a/chrome/browser/sync/glue/generic_change_processor.h b/chrome/browser/sync/glue/generic_change_processor.h |
index 0f0c93bc899a3a7bb0fd6423c419f0dec5750647..66f0315a4311c7a222558c4d096677cfdae2fc96 100644 |
--- a/chrome/browser/sync/glue/generic_change_processor.h |
+++ b/chrome/browser/sync/glue/generic_change_processor.h |
@@ -13,8 +13,10 @@ |
#include "chrome/browser/sync/glue/change_processor.h" |
#include "components/sync_driver/data_type_controller.h" |
#include "components/sync_driver/data_type_error_handler.h" |
+#include "sync/api/attachments/attachment_service.h" |
#include "sync/api/sync_change_processor.h" |
#include "sync/api/sync_merge_result.h" |
+#include "sync/internal_api/public/util/weak_handle.h" |
namespace syncer { |
class SyncData; |
@@ -46,7 +48,8 @@ class GenericChangeProcessor : public ChangeProcessor, |
DataTypeErrorHandler* error_handler, |
const base::WeakPtr<syncer::SyncableService>& local_service, |
const base::WeakPtr<syncer::SyncMergeResult>& merge_result, |
- syncer::UserShare* user_share); |
+ syncer::UserShare* user_share, |
+ scoped_ptr<syncer::AttachmentService> attachment_service); |
virtual ~GenericChangeProcessor(); |
// ChangeProcessor interface. |
@@ -126,6 +129,11 @@ class GenericChangeProcessor : public ChangeProcessor, |
// and have to keep a local pointer to the user_share. |
syncer::UserShare* const share_handle_; |
+ scoped_ptr<syncer::AttachmentService> attachment_service_; |
+ base::WeakPtrFactory<syncer::AttachmentService> |
+ attachment_service_weak_ptr_factory_; |
+ syncer::WeakHandle<syncer::AttachmentService> attachment_service_weak_handle_; |
+ |
DISALLOW_COPY_AND_ASSIGN(GenericChangeProcessor); |
}; |