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

Unified Diff: chrome/common/media/media_resource_provider.cc

Issue 2474803002: [Media Remoting] Add function to create interstitial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 1 month 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 | « no previous file | media/base/media_resources.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/media/media_resource_provider.cc
diff --git a/chrome/common/media/media_resource_provider.cc b/chrome/common/media/media_resource_provider.cc
index de872e130a09101488e54dea28dfbba64aacaee8..61bd6be94ee8f37087662e128ad9125b208ff1ba 100644
--- a/chrome/common/media/media_resource_provider.cc
+++ b/chrome/common/media/media_resource_provider.cc
@@ -24,6 +24,12 @@ int MediaMessageIdToGrdId(media::MessageId message_id) {
case media::BEAMFORMING_OFF_DEFAULT_AUDIO_INPUT_DEVICE_NAME:
return IDS_BEAMFORMING_OFF_DEFAULT_AUDIO_INPUT_DEVICE_NAME;
#endif
+#if BUILDFLAG(ENABLE_MEDIA_REMOTING)
+ case media::MEDIA_REMOTING_CAST_ERROR_TEXT:
+ return IDS_MEDIA_REMOTING_CAST_ERROR_TEXT;
+ case media::MEDIA_REMOTING_CASTING_VIDEO_TEXT:
+ return IDS_MEDIA_REMOTING_CASTING_VIDEO_TEXT;
+#endif
default:
NOTREACHED();
return 0;
« no previous file with comments | « no previous file | media/base/media_resources.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698