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

Unified Diff: chrome/browser/ui/webui/site_settings_helper_unittest.cc

Issue 2525943002: Display content settings for extensions with extension name. (Closed)
Patch Set: deduplicate by origin Created 4 years 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/ui/webui/site_settings_helper_unittest.cc
diff --git a/chrome/browser/ui/webui/site_settings_helper_unittest.cc b/chrome/browser/ui/webui/site_settings_helper_unittest.cc
index 65c68791b5818b5ef4ed7b91841beed9f6123963..7ea98848345180be7781b23ed01069852944e33e 100644
--- a/chrome/browser/ui/webui/site_settings_helper_unittest.cc
+++ b/chrome/browser/ui/webui/site_settings_helper_unittest.cc
@@ -56,8 +56,8 @@ TEST_F(SiteSettingsHelperTest, CheckExceptionOrder) {
base::ListValue exceptions;
// Check that the initial state of the map is empty.
site_settings::GetExceptionsFromHostContentSettingsMap(
- map, kContentType, nullptr /* web_ui */, false /* incognito */,
- nullptr /* filter */, &exceptions);
+ map, kContentType, /*extension_registry=*/nullptr, /*web_ui=*/nullptr,
+ /*incognito=*/false, /*filter=*/nullptr, &exceptions);
EXPECT_EQ(0u, exceptions.GetSize());
map->SetDefaultContentSetting(kContentType, CONTENT_SETTING_ALLOW);
@@ -90,8 +90,8 @@ TEST_F(SiteSettingsHelperTest, CheckExceptionOrder) {
exceptions.Clear();
site_settings::GetExceptionsFromHostContentSettingsMap(
- map, kContentType, nullptr /* web_ui */, false /* incognito */,
- nullptr /* filter */, &exceptions);
+ map, kContentType, /*extension_registry=*/nullptr, /*web_ui=*/nullptr,
+ /*incognito=*/false, /*filter=*/nullptr, &exceptions);
EXPECT_EQ(5u, exceptions.GetSize());
« no previous file with comments | « chrome/browser/ui/webui/site_settings_helper.cc ('k') | chrome/test/data/webui/settings/site_details_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698