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

Unified Diff: chrome/browser/ui/webui/options/content_settings_handler.h

Issue 2180723002: Add revocation metrics from OIB and content setting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@revocation-reporter
Patch Set: Rebase Created 4 years, 5 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/options/content_settings_handler.h
diff --git a/chrome/browser/ui/webui/options/content_settings_handler.h b/chrome/browser/ui/webui/options/content_settings_handler.h
index 2a6bfe8ad08a31163db4a45194114dc4b40c1b92..a4d047d09ee441c71c61d6780e9b845b0a53f9eb 100644
--- a/chrome/browser/ui/webui/options/content_settings_handler.h
+++ b/chrome/browser/ui/webui/options/content_settings_handler.h
@@ -25,6 +25,7 @@
#include "content/public/browser/notification_registrar.h"
class HostContentSettingsMap;
+class Profile;
class ProtocolHandlerRegistry;
namespace options {
@@ -235,12 +236,12 @@ class ContentSettingsHandler : public OptionsPageUIHandler,
void ApplyWhitelist(ContentSettingsType content_type,
ContentSetting default_setting);
- // Gets the HostContentSettingsMap for the normal profile.
- HostContentSettingsMap* GetContentSettingsMap();
+ // Gets the normal profile.
+ Profile* GetProfile();
- // Gets the HostContentSettingsMap for the incognito profile, or NULL if there
- // is no active incognito session.
- HostContentSettingsMap* GetOTRContentSettingsMap();
+ // Gets the incognito profile, or nullptr if there is no active incognito
+ // session.
+ Profile* GetOTRProfile();
// Gets the ProtocolHandlerRegistry for the normal profile.
ProtocolHandlerRegistry* GetProtocolHandlerRegistry();
« no previous file with comments | « chrome/browser/ui/website_settings/website_settings.cc ('k') | chrome/browser/ui/webui/options/content_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698