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

Unified Diff: chrome/browser/storage/durable_storage_permission_infobar_delegate_android.cc

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: chrome/browser/storage/durable_storage_permission_infobar_delegate_android.cc
diff --git a/chrome/browser/storage/durable_storage_permission_infobar_delegate_android.cc b/chrome/browser/storage/durable_storage_permission_infobar_delegate_android.cc
index 2036ca476a2cfd6a34da26885cd4e9ddb6df9794..75b08059fd4ec81894b3e752474ef87c5fc8eb04 100644
--- a/chrome/browser/storage/durable_storage_permission_infobar_delegate_android.cc
+++ b/chrome/browser/storage/durable_storage_permission_infobar_delegate_android.cc
@@ -37,6 +37,11 @@ DurableStoragePermissionInfoBarDelegateAndroid::
requesting_frame_(requesting_frame),
display_languages_(display_languages) {}
+infobars::InfoBarDelegate::InfoBarIdentifier
+DurableStoragePermissionInfoBarDelegateAndroid::GetIdentifier() const {
+ return DURABLE_STORAGE_PERMISSION_INFOBAR_DELEGATE_ANDROID;
+}
+
base::string16 DurableStoragePermissionInfoBarDelegateAndroid::GetMessageText()
const {
return l10n_util::GetStringFUTF16(

Powered by Google App Engine
This is Rietveld 408576698