| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index e4347f8edd524a8b1ac01c4988b837de54b0225c..bf8b0ec7c13ac7fd39ef60d9a653741fae2198db 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -2644,4 +2644,15 @@ bool ChromeContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle(
|
| #endif
|
| }
|
|
|
| +bool ChromeContentBrowserClient::AllowWebGLDebugRendererInfoForDomain(
|
| + const GURL& url) const {
|
| + // TODO(zmo): in this experimental stage, we only expose WebGL extension
|
| + // WEBGL_debug_renderer_info for Google domains. Once we finish the experiment
|
| + // and make a decision, this extension should be avaiable to all or none.
|
| + return google_util::IsGoogleDomainUrl(
|
| + url,
|
| + google_util::ALLOW_SUBDOMAIN,
|
| + google_util::DISALLOW_NON_STANDARD_PORTS);
|
| +}
|
| +
|
| } // namespace chrome
|
|
|