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

Unified Diff: trunk/src/components/sync_driver/failed_data_types_handler.h

Issue 468643002: Revert 288464 "[Sync] Cleanup datatype configuration error handl..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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
Index: trunk/src/components/sync_driver/failed_data_types_handler.h
===================================================================
--- trunk/src/components/sync_driver/failed_data_types_handler.h (revision 289114)
+++ trunk/src/components/sync_driver/failed_data_types_handler.h (working copy)
@@ -61,18 +61,12 @@
// 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;
- // The current unrecoverable errors. Only one unrecoverable error can be
- // active at a time, but it may apply to more than one type.
+ // List of data types that failed due to unrecoverable errors and should
+ // be disabled.
TypeErrorMap unrecoverable_errors_;
// List of data types that failed due to runtime errors and should be

Powered by Google App Engine
This is Rietveld 408576698