| Index: components/sync_driver/failed_data_types_handler.h
|
| diff --git a/components/sync_driver/failed_data_types_handler.h b/components/sync_driver/failed_data_types_handler.h
|
| index 93b6fae6ac6eb0532f4291fecc0516a6fe6c2fe0..985e75923dfb9dc22141e2581711a7c2d68f0906 100644
|
| --- a/components/sync_driver/failed_data_types_handler.h
|
| +++ b/components/sync_driver/failed_data_types_handler.h
|
| @@ -61,12 +61,18 @@ class FailedDataTypesHandler {
|
| // 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
|
|
|