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

Unified Diff: chrome/browser/policy/policy_browsertest.cc

Issue 440423003: Clean content_settings_pattern_parser.* from unnecessary dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed the clients Created 6 years, 4 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/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index bc4bc930ab5133bc9c2839738c26540fa5a3e2e8..65ab513b82d1aa62278a3d05320ca6600024a82a 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -2928,7 +2928,8 @@ class MediaStreamDevicesControllerBrowserTest
list->AppendString(allow_rule);
request_url_allowed_via_whitelist_ = true;
} else {
- list->AppendString(ContentSettingsPattern::Wildcard().ToString());
+ list->AppendString(ContentSettingsPattern::Wildcard().ToString(
+ extensions::kExtensionScheme));
// We should ignore all wildcard entries in the whitelist, so even
// though we've added an entry, it should be ignored and our expectation
// is that the request has not been allowed via the whitelist.

Powered by Google App Engine
This is Rietveld 408576698