Commit cd118d4a authored by sergeyu@chromium.org's avatar sergeyu@chromium.org

Update whitelist for Screen Capture API

BUG=134249

Review URL: https://chromiumcodereview.appspot.com/12967015

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190567 0039d316-1c4b-4281-b951-d872f2087c98
parent 49d89206
...@@ -49,8 +49,16 @@ const content::MediaStreamDevice* FindDefaultDeviceWithId( ...@@ -49,8 +49,16 @@ const content::MediaStreamDevice* FindDefaultDeviceWithId(
// TODO(sergeyu): Remove this whitelist as soon as possible. // TODO(sergeyu): Remove this whitelist as soon as possible.
bool IsOriginWhitelistedForScreenCapture(const GURL& origin) { bool IsOriginWhitelistedForScreenCapture(const GURL& origin) {
#if defined(OFFICIAL_BUILD) #if defined(OFFICIAL_BUILD)
return origin.spec() == "https://staging.talkgadget.google.com/" || return
origin.spec() == "https://plus.google.com/"; // 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 #else
return false; return false;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment