Chromium Code Reviews| Index: chrome/browser/sync/glue/data_type_error_handler.h |
| diff --git a/chrome/browser/sync/glue/data_type_error_handler.h b/chrome/browser/sync/glue/data_type_error_handler.h |
| index 06821e76f54907d3d8003b013dca0472683cea62..704dc09764cbdeb20c29303c803b95965cce216d 100644 |
| --- a/chrome/browser/sync/glue/data_type_error_handler.h |
| +++ b/chrome/browser/sync/glue/data_type_error_handler.h |
| @@ -8,7 +8,10 @@ |
| #include <string> |
| #include "base/location.h" |
| + |
| +#include "chrome/browser/sync/api/sync_error.h" |
| #include "sync/util/unrecoverable_error_handler.h" |
| +#include "sync/syncable/model_type.h" |
| namespace browser_sync { |
| @@ -19,6 +22,12 @@ class DataTypeErrorHandler : public UnrecoverableErrorHandler { |
| virtual void OnSingleDatatypeUnrecoverableError( |
| const tracked_objects::Location& from_here, |
| const std::string& message) = 0; |
| + |
| + virtual SyncError CreateAndUploadError( |
|
Nicolas Zea
2012/04/05 22:08:58
Add comment about what this does.
lipalani1
2012/04/05 22:51:03
Done.
|
| + const tracked_objects::Location& location, |
| + const std::string& message, |
| + syncable::ModelType type) = 0; |
| + |
| protected: |
| virtual ~DataTypeErrorHandler() { } |
| }; |