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

Unified Diff: chrome/browser/pref_service.h

Issue 2809058: Add application locale policy. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: " Created 10 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
« no previous file with comments | « chrome/browser/configuration_policy_store.h ('k') | chrome/browser/pref_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/pref_service.h
diff --git a/chrome/browser/pref_service.h b/chrome/browser/pref_service.h
index 9e31d9b9d4b127d5cd3db5f1ac01c2c4bf585e12..255214ad65133902072857691fa2c4262599c0ff 100644
--- a/chrome/browser/pref_service.h
+++ b/chrome/browser/pref_service.h
@@ -108,6 +108,10 @@ class PrefService : public NonThreadSafe {
// values while the importer process is running. Returns true on success.
bool ReloadPersistentPrefs();
+ // Returns true if the preference for the given preference name is available
+ // and is managed.
+ bool IsManagedPreference(const wchar_t* pref_name) const;
+
// Writes the data to disk. The return value only reflects whether
// serialization was successful; we don't know whether the data actually made
// it on disk (since it's on a different thread). This should only be used if
« no previous file with comments | « chrome/browser/configuration_policy_store.h ('k') | chrome/browser/pref_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698