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

Unified Diff: trunk/src/components/sync_driver/data_type_controller.cc

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/data_type_controller.cc
===================================================================
--- trunk/src/components/sync_driver/data_type_controller.cc (revision 289114)
+++ trunk/src/components/sync_driver/data_type_controller.cc (working copy)
@@ -23,11 +23,11 @@
DataTypeController::~DataTypeController() {
}
-bool DataTypeController::IsUnrecoverableResult(ConfigureResult result) {
+bool DataTypeController::IsUnrecoverableResult(StartResult result) {
return (result == UNRECOVERABLE_ERROR);
}
-bool DataTypeController::IsSuccessfulResult(ConfigureResult result) {
+bool DataTypeController::IsSuccessfulResult(StartResult result) {
return (result == OK || result == OK_FIRST_RUN);
}
« no previous file with comments | « trunk/src/components/sync_driver/data_type_controller.h ('k') | trunk/src/components/sync_driver/data_type_controller_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698