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

Unified Diff: chrome/browser/policy/configuration_policy_pref_store.h

Issue 7147015: Move user cloud policy to BrowserProcess (was 6979011) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unit_test include breakage Created 9 years, 6 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/policy/configuration_policy_pref_store.h
diff --git a/chrome/browser/policy/configuration_policy_pref_store.h b/chrome/browser/policy/configuration_policy_pref_store.h
index 6b752e14f0e57675ae11c251ec2e0903d428bfb3..44459eb22a994b12181ae8073c312f574e786d8f 100644
--- a/chrome/browser/policy/configuration_policy_pref_store.h
+++ b/chrome/browser/policy/configuration_policy_pref_store.h
@@ -17,8 +17,6 @@
#include "chrome/browser/policy/configuration_policy_store_interface.h"
#include "chrome/common/pref_store.h"
-class Profile;
-
namespace policy {
class ConfigurationPolicyPrefKeeper;
@@ -50,8 +48,7 @@ class ConfigurationPolicyPrefStore
static ConfigurationPolicyPrefStore* CreateManagedPlatformPolicyPrefStore();
// Creates a ConfigurationPolicyPrefStore that reads managed cloud policy.
- static ConfigurationPolicyPrefStore* CreateManagedCloudPolicyPrefStore(
- Profile* profile);
+ static ConfigurationPolicyPrefStore* CreateManagedCloudPolicyPrefStore();
// Creates a ConfigurationPolicyPrefStore that reads recommended platform
// policy.
@@ -59,13 +56,15 @@ class ConfigurationPolicyPrefStore
CreateRecommendedPlatformPolicyPrefStore();
// Creates a ConfigurationPolicyPrefStore that reads recommended cloud policy.
- static ConfigurationPolicyPrefStore* CreateRecommendedCloudPolicyPrefStore(
- Profile* profile);
+ static ConfigurationPolicyPrefStore* CreateRecommendedCloudPolicyPrefStore();
// Returns the default policy definition list for Chrome.
static const ConfigurationPolicyProvider::PolicyDefinitionList*
GetChromePolicyDefinitionList();
+ // Returns true if the given policy is a proxy policy.
+ static bool IsProxyPolicy(ConfigurationPolicyType policy);
+
private:
explicit ConfigurationPolicyPrefStore(ConfigurationPolicyProvider* provider);
« no previous file with comments | « chrome/browser/policy/cloud_policy_subsystem_unittest.cc ('k') | chrome/browser/policy/configuration_policy_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698