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

Unified Diff: components/history/core/browser/history_backend.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: components/history/core/browser/history_backend.cc
diff --git a/components/history/core/browser/history_backend.cc b/components/history/core/browser/history_backend.cc
index 42732d85f1fe31ec625d0eedd10747b901a47a50..68c8360e53c767d347f3e8bd335dcbfb09554e0b 100644
--- a/components/history/core/browser/history_backend.cc
+++ b/components/history/core/browser/history_backend.cc
@@ -657,7 +657,7 @@ void HistoryBackend::InitImpl(
case sql::INIT_OK:
break;
case sql::INIT_TOO_NEW:
- delegate_->NotifyProfileError(status);
+ delegate_->NotifyProfileError(history_name, status);
db_.reset();
return;
case sql::INIT_FAILURE: {
@@ -669,7 +669,7 @@ void HistoryBackend::InitImpl(
if (kill_db)
KillHistoryDatabase();
UMA_HISTOGRAM_BOOLEAN("History.AttemptedToFixProfileError", kill_db);
- delegate_->NotifyProfileError(status);
+ delegate_->NotifyProfileError(history_name, status);
Scott Hess - ex-Googler 2016/06/29 05:13:48 Note that if the db is open, it may hold locks whi
afakhry 2016/06/29 18:57:18 So do you suggest moving these calls elsewhere? Pe
Scott Hess - ex-Googler 2016/06/29 19:17:27 Depends on what you're going to do. If NotifyProf
db_.reset();
return;
}

Powered by Google App Engine
This is Rietveld 408576698