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

Unified Diff: chrome/browser/ui/webui/site_settings_helper.h

Issue 2298283002: Site Settings Desktop: Support adding exceptions for incognito mode. (Closed)
Patch Set: Fix test Created 4 years, 3 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/ui/webui/site_settings_helper.h
diff --git a/chrome/browser/ui/webui/site_settings_helper.h b/chrome/browser/ui/webui/site_settings_helper.h
index 413207c66b254e5e2ed979eed6a5ad169059dbbb..3076f9ece05cf52bf19746131057bd8fd8154ffe 100644
--- a/chrome/browser/ui/webui/site_settings_helper.h
+++ b/chrome/browser/ui/webui/site_settings_helper.h
@@ -58,6 +58,7 @@ void GetExceptionsFromHostContentSettingsMap(
const HostContentSettingsMap* map,
ContentSettingsType type,
content::WebUI* web_ui,
+ bool incognito,
base::ListValue* exceptions);
// Returns exceptions constructed from the policy-set allowed URLs
@@ -65,7 +66,8 @@ void GetExceptionsFromHostContentSettingsMap(
void GetPolicyAllowedUrls(
ContentSettingsType type,
std::vector<std::unique_ptr<base::DictionaryValue>>* exceptions,
- content::WebUI* web_ui);
+ content::WebUI* web_ui,
+ bool incognito);
// This struct facilitates lookup of a chooser context factory function by name
// for a given content settings type and is declared early so that it can used
« no previous file with comments | « chrome/browser/ui/webui/settings/site_settings_handler_unittest.cc ('k') | chrome/browser/ui/webui/site_settings_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698