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

Unified Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_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/net/spdyproxy/data_reduction_proxy_infobar_delegate_android.cc
diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_infobar_delegate_android.cc b/chrome/browser/net/spdyproxy/data_reduction_proxy_infobar_delegate_android.cc
index 583ae735299a9b52f214fcaae9df103b5d2aa140..7da15b5ae94b53e98033ab908e2470538e9a27de 100644
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_infobar_delegate_android.cc
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_infobar_delegate_android.cc
@@ -33,6 +33,11 @@ DataReductionProxyInfoBarDelegateAndroid::
DataReductionProxyInfoBarDelegateAndroid(const std::string& link_url)
: ConfirmInfoBarDelegate(), link_url_(link_url) {}
+infobars::InfoBarDelegate::InfoBarIdentifier
+DataReductionProxyInfoBarDelegateAndroid::GetIdentifier() const {
+ return DATA_REDUCTION_PROXY_INFOBAR_DELEGATE_ANDROID;
+}
+
bool DataReductionProxyInfoBarDelegateAndroid::ShouldExpire(
const NavigationDetails& details) const {
return false;

Powered by Google App Engine
This is Rietveld 408576698