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

Unified Diff: chrome/browser/history/chrome_history_client.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/history/chrome_history_client.h ('k') | chrome/browser/prefs/chrome_pref_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/chrome_history_client.cc
diff --git a/chrome/browser/history/chrome_history_client.cc b/chrome/browser/history/chrome_history_client.cc
index 32cafc198fdb48baeacf4bb769d78e7cb538c778..378853dfb3d289c6f13489385efcfdcc48dbecf3 100644
--- a/chrome/browser/history/chrome_history_client.cc
+++ b/chrome/browser/history/chrome_history_client.cc
@@ -63,11 +63,13 @@ bool ChromeHistoryClient::CanAddURL(const GURL& url) {
return CanAddURLToHistory(url);
}
-void ChromeHistoryClient::NotifyProfileError(sql::InitStatus init_status) {
- ShowProfileErrorDialog(
- PROFILE_ERROR_HISTORY,
- (init_status == sql::INIT_FAILURE) ?
- IDS_COULDNT_OPEN_PROFILE_ERROR : IDS_PROFILE_TOO_NEW_ERROR);
+void ChromeHistoryClient::NotifyProfileError(sql::InitStatus init_status,
+ const std::string& diagnostics) {
+ ShowProfileErrorDialog(PROFILE_ERROR_HISTORY,
+ (init_status == sql::INIT_FAILURE)
+ ? IDS_COULDNT_OPEN_PROFILE_ERROR
+ : IDS_PROFILE_TOO_NEW_ERROR,
+ diagnostics);
}
std::unique_ptr<history::HistoryBackendClient>
« no previous file with comments | « chrome/browser/history/chrome_history_client.h ('k') | chrome/browser/prefs/chrome_pref_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698