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

Unified Diff: components/prefs/pref_service.h

Issue 1825173003: [Policy Experimental] Add "recommended" policies for URL exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync. Created 4 years, 9 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 | « components/policy/resources/policy_templates.json ('k') | components/prefs/pref_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/prefs/pref_service.h
diff --git a/components/prefs/pref_service.h b/components/prefs/pref_service.h
index 6c95b64f6536eb1e8174bb097bda4b71bfa31099..06ad39907d99868251ce9daae1103f599cf56fa7 100644
--- a/components/prefs/pref_service.h
+++ b/components/prefs/pref_service.h
@@ -83,6 +83,9 @@ class COMPONENTS_PREFS_EXPORT PrefService : public base::NonThreadSafe {
// default value if no other has been set.
const base::Value* GetValue() const;
+ // Returns the value managed by the admin, if any.
+ const base::Value* GetManagedValue() const;
+
// Returns the value recommended by the admin, if any.
const base::Value* GetRecommendedValue() const;
« no previous file with comments | « components/policy/resources/policy_templates.json ('k') | components/prefs/pref_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698