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

Unified Diff: components/webdata_services/web_data_service_wrapper.h

Issue 2107493002: Offer user to send feedback from profile error dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pkasting's & droger's Created 4 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: 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|.
« no previous file with comments | « components/webdata/common/web_database_service.cc ('k') | ios/chrome/browser/browser_state/test_chrome_browser_state.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698