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

Unified Diff: chrome/browser/ui/startup/session_crashed_infobar_delegate.cc

Issue 1520543004: Add method for identifying different InfoBars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing Created 5 years 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/ui/startup/session_crashed_infobar_delegate.cc
diff --git a/chrome/browser/ui/startup/session_crashed_infobar_delegate.cc b/chrome/browser/ui/startup/session_crashed_infobar_delegate.cc
index dadad034f1911102582f19143cd499e5974b87dd..fdb4de67ba068a1febc4097bc5dffffd8dadcabc 100644
--- a/chrome/browser/ui/startup/session_crashed_infobar_delegate.cc
+++ b/chrome/browser/ui/startup/session_crashed_infobar_delegate.cc
@@ -55,6 +55,10 @@ SessionCrashedInfoBarDelegate::~SessionCrashedInfoBarDelegate() {
}
}
+std::string SessionCrashedInfoBarDelegate::GetIdentifier() const {
+ return "SessionCrashedInfoBarDelegate";
+}
+
int SessionCrashedInfoBarDelegate::GetIconId() const {
return IDR_INFOBAR_RESTORE_SESSION;
}

Powered by Google App Engine
This is Rietveld 408576698