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

Unified Diff: chrome/browser/android/media/media_throttle_infobar_delegate.cc

Issue 2385063005: Make PermissionRequest::GetIconId return different types (Closed)
Patch Set: android Created 4 years, 2 months 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/android/media/media_throttle_infobar_delegate.cc
diff --git a/chrome/browser/android/media/media_throttle_infobar_delegate.cc b/chrome/browser/android/media/media_throttle_infobar_delegate.cc
index 917bb2543208adc34f53b936921add8cce6a9cc4..10e46cf57b9e701c5691100beb10cabb59a36b35 100644
--- a/chrome/browser/android/media/media_throttle_infobar_delegate.cc
+++ b/chrome/browser/android/media/media_throttle_infobar_delegate.cc
@@ -8,6 +8,7 @@
#include <utility>
#include "base/metrics/histogram_macros.h"
+#include "chrome/browser/android/android_theme_resources.h"
#include "chrome/browser/infobars/infobar_service.h"
#include "chrome/grit/generated_resources.h"
#include "chrome/grit/theme_resources.h"
@@ -68,7 +69,7 @@ base::string16 MediaThrottleInfoBarDelegate::GetMessageText() const {
}
int MediaThrottleInfoBarDelegate::GetIconId() const {
- return IDR_INFOBAR_WARNING;
+ return IDR_ANDROID_INFOBAR_WARNING;
}
base::string16 MediaThrottleInfoBarDelegate::GetButtonLabel(

Powered by Google App Engine
This is Rietveld 408576698