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

Unified Diff: chrome/browser/subresource_filter/subresource_filter_content_settings_manager_unittest.cc

Issue 2938163002: Store base::Value in ContentSettingPatternSource instead of an enum (Closed)
Patch Set: moar rebase, raymes comments Created 3 years, 6 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/subresource_filter/subresource_filter_content_settings_manager_unittest.cc
diff --git a/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_unittest.cc b/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_unittest.cc
index f4f6b68452568114bbbeadf63a3690e7f9c94657..736ee27e84010e626431b98b8a47c8880d2dcb80 100644
--- a/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_unittest.cc
+++ b/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_unittest.cc
@@ -77,7 +77,7 @@ class SubresourceFilterContentSettingsManagerTest : public testing::Test {
for (const auto& it : host_settings) {
// Need GURL conversion to get rid of unnecessary default ports.
if (GURL(it.primary_pattern.ToString()) == url_with_empty_path)
- return it.setting;
+ return it.GetContentSetting();
}
return CONTENT_SETTING_DEFAULT;
}

Powered by Google App Engine
This is Rietveld 408576698