Index: chrome/browser/policy/browser_policy_connector.h |
diff --git a/chrome/browser/policy/browser_policy_connector.h b/chrome/browser/policy/browser_policy_connector.h |
index 3774422070b650bda0f98c99f2e8629db0d1fc47..2169179cb32eb3a71da4e13a00e915dd0193b005 100644 |
--- a/chrome/browser/policy/browser_policy_connector.h |
+++ b/chrome/browser/policy/browser_policy_connector.h |
@@ -19,6 +19,7 @@ |
#endif |
class PrefRegistrySimple; |
+class PrefRegistrySyncable; |
class PrefService; |
class Profile; |
@@ -156,9 +157,17 @@ class BrowserPolicyConnector { |
// false if the username is empty. |
static bool IsNonEnterpriseUser(const std::string& username); |
+ // Returns true if |profile| has used certificates installed via policy |
+ // to establish a secure connection before. This means that it may have |
+ // cached content from an untrusted source. |
+ static bool UsedPolicyCertificates(Profile* profile); |
+ |
// Registers refresh rate prefs. |
static void RegisterPrefs(PrefRegistrySimple* registry); |
+ // Registers Profile prefs related to policy features. |
+ static void RegisterUserPrefs(PrefRegistrySyncable* registry); |
+ |
private: |
// Set the timezone as soon as the policies are available. |
void SetTimezoneIfPolicyAvailable(); |