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

Unified Diff: chrome/browser/web_data_service_factory.cc

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
« no previous file with comments | « chrome/browser/ui/views/simple_message_box_views.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/web_data_service_factory.cc
diff --git a/chrome/browser/web_data_service_factory.cc b/chrome/browser/web_data_service_factory.cc
index 8cac57d74bae0c8611ca2db0d8906cf3e0d712a5..827aee89066260c951e847cd3f8172e89acc38b4 100644
--- a/chrome/browser/web_data_service_factory.cc
+++ b/chrome/browser/web_data_service_factory.cc
@@ -55,11 +55,13 @@ ProfileErrorType ProfileErrorFromWebDataServiceWrapperError(
// Callback to show error dialog on profile load error.
void ProfileErrorCallback(WebDataServiceWrapper::ErrorType error_type,
- sql::InitStatus status) {
- ShowProfileErrorDialog(
- ProfileErrorFromWebDataServiceWrapperError(error_type),
- (status == sql::INIT_FAILURE) ?
- IDS_COULDNT_OPEN_PROFILE_ERROR : IDS_PROFILE_TOO_NEW_ERROR);
+ sql::InitStatus status,
+ const std::string& diagnostics) {
+ ShowProfileErrorDialog(ProfileErrorFromWebDataServiceWrapperError(error_type),
+ (status == sql::INIT_FAILURE)
+ ? IDS_COULDNT_OPEN_PROFILE_ERROR
+ : IDS_PROFILE_TOO_NEW_ERROR,
+ diagnostics);
}
} // namespace
« no previous file with comments | « chrome/browser/ui/views/simple_message_box_views.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698