Index: components/webdata_services/web_data_service_wrapper.h |
diff --git a/components/webdata_services/web_data_service_wrapper.h b/components/webdata_services/web_data_service_wrapper.h |
index a9aa97fb0132ed7643270d6c0ec339d196ae6543..3da8cd9348ddf78c650fa5aa926562052c2d30a0 100644 |
--- a/components/webdata_services/web_data_service_wrapper.h |
+++ b/components/webdata_services/web_data_service_wrapper.h |
@@ -46,7 +46,14 @@ class WebDataServiceWrapper : public KeyedService { |
}; |
// Shows an error message if a loading error occurs. |
- using ShowErrorCallback = void (*)(ErrorType, sql::InitStatus); |
+ // |error_type| shows which service encountered an error while loading. |
+ // |init_status| is the returned status of initializing the underlying |
+ // database. |
+ // |diagnostics| contains information about the underlying database |
+ // which can help in identifying the cause of the error. |
+ using ShowErrorCallback = void (*)(ErrorType error_type, |
+ sql::InitStatus init_status, |
+ const std::string& diagnostics); |
// Constructor for WebDataServiceWrapper that initializes the different |
// WebDataServices and starts the synchronization services using |flare|. |