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

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: Unused variable Created 4 years, 6 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: 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..000dc44cfa472bcdca1efa7a9ec4c35cb5402cd8 100644
--- a/chrome/browser/history/chrome_history_client.cc
+++ b/chrome/browser/history/chrome_history_client.cc
@@ -63,8 +63,11 @@ bool ChromeHistoryClient::CanAddURL(const GURL& url) {
return CanAddURLToHistory(url);
}
-void ChromeHistoryClient::NotifyProfileError(sql::InitStatus init_status) {
+void ChromeHistoryClient::NotifyProfileError(
+ const base::FilePath& corrupted_file,
+ sql::InitStatus init_status) {
ShowProfileErrorDialog(
+ corrupted_file,
PROFILE_ERROR_HISTORY,
(init_status == sql::INIT_FAILURE) ?
IDS_COULDNT_OPEN_PROFILE_ERROR : IDS_PROFILE_TOO_NEW_ERROR);

Powered by Google App Engine
This is Rietveld 408576698