Chromium Code Reviews| Index: chrome/browser/sync/glue/data_type_controller.cc |
| diff --git a/chrome/browser/sync/glue/data_type_controller.cc b/chrome/browser/sync/glue/data_type_controller.cc |
| index 0eb5ec6f343ab7ef689178ede0145576d11abb1f..9014ece073505d048dc423f2c6edeb8520448256 100644 |
| --- a/chrome/browser/sync/glue/data_type_controller.cc |
| +++ b/chrome/browser/sync/glue/data_type_controller.cc |
| @@ -10,7 +10,7 @@ |
| namespace browser_sync { |
| bool DataTypeController::IsUnrecoverableResult(StartResult result) { |
| - return (result == ASSOCIATION_FAILED || result == UNRECOVERABLE_ERROR); |
| + return (result == UNRECOVERABLE_ERROR); |
| } |
| void DataTypeController::RecordUnrecoverableError( |
| @@ -25,4 +25,12 @@ void DataTypeController::RecordUnrecoverableError( |
| ChromeReportUnrecoverableError(); |
|
Nicolas Zea
2012/04/05 22:08:58
This probably needs to be removed now. We'll be up
lipalani1
2012/04/05 22:51:03
This is needed in the interim. We will remove it i
Nicolas Zea
2012/04/06 19:49:47
Sounds good. Could you add a TODO mentioning that
|
| } |
| +SyncError DataTypeController::CreateAndUploadError( |
| + const tracked_objects::Location& location, |
| + const std::string& message, |
| + syncable::ModelType type) { |
| + ChromeReportUnrecoverableError(); |
| + return SyncError(location, message, type); |
| } |
| + |
| +} // namespace browser_sync |