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

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: 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') | media/base/media_resources.h » ('J')
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..9b9f3e32a48a5255116f68eb5a6d6840bfedabd6 100644
--- a/chrome/common/media/media_resource_provider.cc
+++ b/chrome/common/media/media_resource_provider.cc
@@ -24,6 +24,10 @@ 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
+ case media::MEDIA_REMOTING_CAST_ERROR_TEXT:
xjz 2016/11/03 23:53:39 Add our build flag? #if BUILDFLAG(ENABLE_MEDIA_REM
apacible 2016/11/04 01:25:38 Oh nice, added here and elsewhere. Thanks for the
+ return IDS_MEDIA_REMOTING_CAST_ERROR_TEXT;
+ case media::MEDIA_REMOTING_CASTING_VIDEO_TEXT:
+ return IDS_MEDIA_REMOTING_CASTING_VIDEO_TEXT;
default:
NOTREACHED();
return 0;
« no previous file with comments | « no previous file | media/base/media_resources.h » ('j') | media/base/media_resources.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698