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

Unified Diff: chrome/renderer/chrome_content_renderer_client.cc

Issue 1974413003: Whitelist hangouts.google.com further to allow video effects plugin access. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_content_renderer_client.cc
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
index b70bbeb30f38116b330225195fd5cc357c2a915f..69b31a46e4d8bb0e110616e875eb2e305098ac10 100644
--- a/chrome/renderer/chrome_content_renderer_client.cc
+++ b/chrome/renderer/chrome_content_renderer_client.cc
@@ -928,13 +928,13 @@ bool ChromeContentRendererClient::IsNaClAllowed(
// Whitelisted apps must be served over secure scheme.
app_url.SchemeIsCryptographic() && manifest_url.SchemeIsFileSystem() &&
manifest_url.inner_url()->SchemeIsCryptographic() &&
- (base::EndsWith(app_url_host, "talkgadget.google.com",
+ (base::EndsWith(app_url_host, "hangouts.google.com",
tommi (sloooow) - chröme 2016/05/16 19:51:56 It looks like this change doesn't make a differenc
AlexZ 2016/05/17 16:43:56 Was just making the two lists the same. Moving to
+ base::CompareCase::INSENSITIVE_ASCII) ||
+ base::EndsWith(app_url_host, "talkgadget.google.com",
base::CompareCase::INSENSITIVE_ASCII) ||
base::EndsWith(app_url_host, "plus.google.com",
base::CompareCase::INSENSITIVE_ASCII) ||
base::EndsWith(app_url_host, "plus.sandbox.google.com",
- base::CompareCase::INSENSITIVE_ASCII) ||
- base::EndsWith(app_url_host, "hangouts.google.com",
base::CompareCase::INSENSITIVE_ASCII)) &&
// The manifest must be loaded from the host's FileSystem.
(manifest_fs_host == app_url_host);
@@ -1235,7 +1235,9 @@ bool ChromeContentRendererClient::AllowPepperMediaStreamAPI(
// these APIs are public and stable.
std::string url_host = url.host();
if (url.SchemeIs("https") &&
- (base::EndsWith(url_host, "talkgadget.google.com",
+ (base::EndsWith(url_host, "hangouts.google.com",
tommi (sloooow) - chröme 2016/05/16 19:51:56 I guess this is the real change. Since this looks
AlexZ 2016/05/17 16:43:56 Moving to single domain check.
+ base::CompareCase::INSENSITIVE_ASCII) ||
+ base::EndsWith(url_host, "talkgadget.google.com",
base::CompareCase::INSENSITIVE_ASCII) ||
base::EndsWith(url_host, "plus.google.com",
base::CompareCase::INSENSITIVE_ASCII) ||
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698