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

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

Issue 2454813004: Make PermissionRequest::GetIconId return different types on desktop and Android so that the IDR_ an… (Closed)
Patch Set: 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
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/resource_id.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/resource_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698