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

Unified Diff: chrome/browser/supervised_user/supervised_user_settings_service.h

Issue 902833003: Add a HostContentSettingsMap layer for Supervised Users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 5 years, 10 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/supervised_user/supervised_user_settings_service.h
diff --git a/chrome/browser/supervised_user/supervised_user_settings_service.h b/chrome/browser/supervised_user/supervised_user_settings_service.h
index 29bd306b345d2de5d416d33621652ed83d89d106..43f86762aa6df6766dc8ef901eebf5732088d074 100644
--- a/chrome/browser/supervised_user/supervised_user_settings_service.h
+++ b/chrome/browser/supervised_user/supervised_user_settings_service.h
@@ -17,6 +17,7 @@
#include "components/keyed_service/core/keyed_service.h"
#include "sync/api/syncable_service.h"
+class HostContentSettingsMap;
class PersistentPrefStore;
class Profile;
@@ -78,6 +79,10 @@ class SupervisedUserSettingsService : public KeyedService,
// available, or when they change.
void Subscribe(const SettingsCallback& callback);
+ // Register own content settings provider with the specified map.
+ void RegisterContentSettings(
Bernhard Bauer 2015/02/26 12:44:58 Why does the SupervisedUserSettingsService now hav
knn 2015/02/26 16:18:56 HostContentSettingsMap is a component so it cannot
Bernhard Bauer 2015/02/26 18:03:54 Hm, I'm wondering whether we could have an embedde
+ HostContentSettingsMap* host_content_settings_map);
+
// Activates/deactivates the service. This is called by the
// SupervisedUserService when it is (de)activated.
void SetActive(bool active);

Powered by Google App Engine
This is Rietveld 408576698