Index: trunk/src/components/sync_driver/failed_data_types_handler.h |
=================================================================== |
--- trunk/src/components/sync_driver/failed_data_types_handler.h (revision 289352) |
+++ trunk/src/components/sync_driver/failed_data_types_handler.h (working copy) |
@@ -61,12 +61,18 @@ |
// Returns the types that cannot be configured due to not being ready. |
syncer::ModelTypeSet GetUnreadyErrorTypes() const; |
+ // Returns the types that triggered the unrecoverable error. |
+ syncer::ModelTypeSet GetUnrecoverableErrorTypes() const; |
+ |
+ // Returns the current unrecoverable error, if there is one. |
+ syncer::SyncError GetUnrecoverableError() const; |
+ |
private: |
// Returns true if there are any types with errors. |
bool AnyFailedDataType() const; |
- // List of data types that failed due to unrecoverable errors and should |
- // be disabled. |
+ // The current unrecoverable errors. Only one unrecoverable error can be |
+ // active at a time, but it may apply to more than one type. |
TypeErrorMap unrecoverable_errors_; |
// List of data types that failed due to runtime errors and should be |