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 23e7f31d1d27590053638c41fbc05b4f1b42ac20..f2edf00a231fde1fbe56424400b3c6a080cae2ee 100644 |
--- a/chrome/browser/media/media_capture_devices_dispatcher.cc |
+++ b/chrome/browser/media/media_capture_devices_dispatcher.cc |
@@ -49,8 +49,16 @@ const content::MediaStreamDevice* FindDefaultDeviceWithId( |
// TODO(sergeyu): Remove this whitelist as soon as possible. |
bool IsOriginWhitelistedForScreenCapture(const GURL& origin) { |
#if defined(OFFICIAL_BUILD) |
- return origin.spec() == "https://staging.talkgadget.google.com/" || |
- origin.spec() == "https://plus.google.com/"; |
+ return |
+ // Google Hangouts. |
+ origin.spec() == "https://staging.talkgadget.google.com/" || |
+ origin.spec() == "https://plus.google.com/" || |
+ // CV. |
+ origin.spec() == "chrome-extension://pkedcjkdefgpdelpbcmbmeomcjbeemfm/" || |
+ // CV Staging. |
+ origin.spec() == "chrome-extension://fmfcbgogabcbclcofgocippekhfcmgfj/" || |
+ // CV Canary. |
+ origin.spec() == "chrome-extension://hfaagokkkhdbgiakmmlclaapfelnkoah/"; |
#else |
return false; |
#endif |