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

Unified Diff: components/sync_driver/change_processor.h

Issue 1966023002: [Sync] Move DataTypeErrorHandler to //sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: components/sync_driver/change_processor.h
diff --git a/components/sync_driver/change_processor.h b/components/sync_driver/change_processor.h
index ef0073ef038cc6c13930d6b14b41798c9efb3ef0..d6a6760d732f67b651af0f150edc4423f81bb3b6 100644
--- a/components/sync_driver/change_processor.h
+++ b/components/sync_driver/change_processor.h
@@ -8,12 +8,13 @@
#include <stdint.h>
#include "base/macros.h"
-#include "components/sync_driver/data_type_error_handler.h"
#include "sync/internal_api/public/base_transaction.h"
#include "sync/internal_api/public/change_record.h"
+#include "sync/internal_api/public/data_type_error_handler.h"
pavely 2016/05/11 18:29:04 You don't need this include, you already forward d
maxbogue 2016/05/11 19:03:02 Done.
#include "sync/internal_api/public/user_share.h"
namespace syncer {
+class DataTypeErrorHandler;
class UnrecoverableErrorHandler;
} // namespace syncer
@@ -25,7 +26,7 @@ class ModelAssociator;
// native model. This does not currently distinguish between model data types.
class ChangeProcessor {
public:
- explicit ChangeProcessor(DataTypeErrorHandler* error_handler);
+ explicit ChangeProcessor(syncer::DataTypeErrorHandler* error_handler);
virtual ~ChangeProcessor();
// Call when the processor should accept changes from either provided model
@@ -56,11 +57,11 @@ class ChangeProcessor {
// implementation-specific work.
virtual void StartImpl() = 0;
- DataTypeErrorHandler* error_handler() const;
+ syncer::DataTypeErrorHandler* error_handler() const;
virtual syncer::UserShare* share_handle() const;
private:
- DataTypeErrorHandler* error_handler_; // Guaranteed to outlive us.
+ syncer::DataTypeErrorHandler* error_handler_; // Guaranteed to outlive us.
// The sync model we are processing changes from.
syncer::UserShare* share_handle_;

Powered by Google App Engine
This is Rietveld 408576698