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

Unified Diff: chrome/browser/media/media_capture_devices_dispatcher.cc

Issue 391263002: Cast: cast.streaming API to support null audio (or video) track (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/media/media_capture_devices_dispatcher.cc
diff --git a/chrome/browser/media/media_capture_devices_dispatcher.cc b/chrome/browser/media/media_capture_devices_dispatcher.cc
index 136139a4d68ce254809c377c010face81becb097..041347c8f0cfa218d72e1523b4b945d44f09876d 100644
--- a/chrome/browser/media/media_capture_devices_dispatcher.cc
+++ b/chrome/browser/media/media_capture_devices_dispatcher.cc
@@ -117,7 +117,6 @@ bool IsBuiltInExtension(const GURL& origin) {
// Returns true of the security origin is associated with casting.
bool IsOriginForCasting(const GURL& origin) {
-#if defined(OFFICIAL_BUILD)
// Whitelisted tab casting extensions.
return
// Dev
@@ -130,9 +129,6 @@ bool IsOriginForCasting(const GURL& origin) {
origin.spec() == "chrome-extension://dliochdbjfkdbacpmhlcpmleaejidimm/" ||
// Google Cast Stable
origin.spec() == "chrome-extension://boadgeojelhgndaghljhdicfkmllpafd/";
-#else
- return false;
-#endif
}
// Helper to get title of the calling application shown in the screen capture

Powered by Google App Engine
This is Rietveld 408576698