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

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: Found an unsaved buffer :( 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
« no previous file with comments | « components/sync_driver/BUILD.gn ('k') | components/sync_driver/change_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..fd82d0c78f69562a9f4ade6c992a0d58fccc0b2b 100644
--- a/components/sync_driver/change_processor.h
+++ b/components/sync_driver/change_processor.h
@@ -8,12 +8,12 @@
#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/user_share.h"
namespace syncer {
+class DataTypeErrorHandler;
class UnrecoverableErrorHandler;
} // namespace syncer
@@ -25,7 +25,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 +56,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_;
« no previous file with comments | « components/sync_driver/BUILD.gn ('k') | components/sync_driver/change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698