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

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

Issue 545173002: Supervised users: Allow the delegate to specify a blacklist to load. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | chrome/browser/supervised_user/supervised_user_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/supervised_user/supervised_user_service.h
diff --git a/chrome/browser/supervised_user/supervised_user_service.h b/chrome/browser/supervised_user/supervised_user_service.h
index f373947d19d8cf44efb2a92f38514aa5e72d6c28..baa419f7f3d22674503d73757805949642959aac 100644
--- a/chrome/browser/supervised_user/supervised_user_service.h
+++ b/chrome/browser/supervised_user/supervised_user_service.h
@@ -37,6 +37,10 @@ class SupervisedUserSettingsService;
class SupervisedUserSiteList;
class SupervisedUserURLFilter;
+namespace base {
+class FilePath;
+}
+
namespace extensions {
class ExtensionRegistry;
}
@@ -73,6 +77,9 @@ class SupervisedUserService : public KeyedService,
// Returns true to indicate that the delegate handled the (de)activation, or
// false to indicate that the SupervisedUserService itself should handle it.
virtual bool SetActive(bool active) = 0;
+ // Returns the path to a blacklist file to load, or an empty path to
+ // indicate "none".
+ virtual base::FilePath GetBlacklistPath() const = 0;
};
virtual ~SupervisedUserService();
« no previous file with comments | « no previous file | chrome/browser/supervised_user/supervised_user_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698