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

Unified Diff: ios/chrome/browser/passwords/ios_chrome_save_password_infobar_delegate.mm

Issue 1520543004: Add method for identifying different InfoBars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit again 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: ios/chrome/browser/passwords/ios_chrome_save_password_infobar_delegate.mm
diff --git a/ios/chrome/browser/passwords/ios_chrome_save_password_infobar_delegate.mm b/ios/chrome/browser/passwords/ios_chrome_save_password_infobar_delegate.mm
index b15e427d47b2fc3859de50d6dfe7626f258cbc15..045bec9ea253947a1343906b3d92bbad5b487c4a 100644
--- a/ios/chrome/browser/passwords/ios_chrome_save_password_infobar_delegate.mm
+++ b/ios/chrome/browser/passwords/ios_chrome_save_password_infobar_delegate.mm
@@ -55,6 +55,11 @@ IOSChromeSavePasswordInfoBarDelegate::GetInfoBarType() const {
return PAGE_ACTION_TYPE;
}
+infobars::InfoBarDelegate::InfoBarIdentifier
+IOSChromeSavePasswordInfoBarDelegate::GetIdentifier() const {
+ return IOS_CHROME_SAVE_PASSWORD_INFOBAR_DELEGATE;
+}
+
base::string16 IOSChromeSavePasswordInfoBarDelegate::GetMessageText() const {
if (is_smart_lock_branding_enabled_) {
return l10n_util::GetStringUTF16(
« no previous file with comments | « ios/chrome/browser/passwords/ios_chrome_save_password_infobar_delegate.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698