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

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: idl compiler 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 7806eb9dca389d192e605dc715124fdb3cde9122..95386f84fa78e4f4431234044dab26bbe0f93c40 100644
--- a/chrome/browser/media/media_capture_devices_dispatcher.cc
+++ b/chrome/browser/media/media_capture_devices_dispatcher.cc
@@ -118,7 +118,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
@@ -131,9 +130,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