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

Unified Diff: chrome/browser/geolocation/geolocation_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/geolocation/geolocation_infobar_delegate_android.cc
diff --git a/chrome/browser/geolocation/geolocation_infobar_delegate_android.cc b/chrome/browser/geolocation/geolocation_infobar_delegate_android.cc
index 73de4aca4991a1e07cac9cd7cea081c9fee5cd1a..02ad6d84b1eaec671870f9e2ea6e046182267ef9 100644
--- a/chrome/browser/geolocation/geolocation_infobar_delegate_android.cc
+++ b/chrome/browser/geolocation/geolocation_infobar_delegate_android.cc
@@ -36,6 +36,11 @@ GeolocationInfoBarDelegateAndroid::GeolocationInfoBarDelegateAndroid(
GeolocationInfoBarDelegateAndroid::~GeolocationInfoBarDelegateAndroid() {}
+infobars::InfoBarDelegate::InfoBarIdentifier
+GeolocationInfoBarDelegateAndroid::GetIdentifier() const {
+ return GEOLOCATION_INFOBAR_DELEGATE_ANDROID;
+}
+
int GeolocationInfoBarDelegateAndroid::GetIconId() const {
return IDR_ANDROID_INFOBAR_GEOLOCATION;
}
« no previous file with comments | « chrome/browser/geolocation/geolocation_infobar_delegate_android.h ('k') | chrome/browser/gpu/three_d_api_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698