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

Unified Diff: components/sync_driver/data_type_controller.cc

Issue 420633002: [Sync] Cleanup datatype configuration error handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile 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
« no previous file with comments | « components/sync_driver/data_type_controller.h ('k') | components/sync_driver/data_type_controller_mock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/data_type_controller.cc
diff --git a/components/sync_driver/data_type_controller.cc b/components/sync_driver/data_type_controller.cc
index bfabe75894f488194087304eca565ac67a271ec9..3f7a6815ad3ba158b9c868604a9662a161408abc 100644
--- a/components/sync_driver/data_type_controller.cc
+++ b/components/sync_driver/data_type_controller.cc
@@ -23,11 +23,11 @@ DataTypeController::DataTypeController(
DataTypeController::~DataTypeController() {
}
-bool DataTypeController::IsUnrecoverableResult(StartResult result) {
+bool DataTypeController::IsUnrecoverableResult(ConfigureResult result) {
return (result == UNRECOVERABLE_ERROR);
}
-bool DataTypeController::IsSuccessfulResult(StartResult result) {
+bool DataTypeController::IsSuccessfulResult(ConfigureResult result) {
return (result == OK || result == OK_FIRST_RUN);
}
« no previous file with comments | « components/sync_driver/data_type_controller.h ('k') | components/sync_driver/data_type_controller_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698