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

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

Issue 6979011: Move user cloud policy to BrowserProcess. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments by mnissler. Added unittest. Created 9 years, 7 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/browser_policy_connector.h
diff --git a/chrome/browser/policy/browser_policy_connector.h b/chrome/browser/policy/browser_policy_connector.h
index 5c15b93cc6e37e50dc93fb66f9d4349d775d8c35..81f7cefa5ac82f9bc252faf744641ce2247ff747 100644
--- a/chrome/browser/policy/browser_policy_connector.h
+++ b/chrome/browser/policy/browser_policy_connector.h
@@ -23,6 +23,7 @@ class URLRequestContextGetter;
namespace policy {
+class CloudPolicyProvider;
class CloudPolicySubsystem;
class ConfigurationPolicyProvider;
class DevicePolicyIdentityStrategy;
@@ -35,9 +36,9 @@ class BrowserPolicyConnector {
~BrowserPolicyConnector();
ConfigurationPolicyProvider* GetManagedPlatformProvider() const;
- ConfigurationPolicyProvider* GetManagedCloudProvider() const;
+ CloudPolicyProvider* GetManagedCloudProvider() const;
Mattias Nissler (ping if slow) 2011/05/31 14:14:19 You shouldn't need to now that these are CloudPoli
sfeuz 2011/06/03 08:30:35 Obsolete.
ConfigurationPolicyProvider* GetRecommendedPlatformProvider() const;
- ConfigurationPolicyProvider* GetRecommendedCloudProvider() const;
+ CloudPolicyProvider* GetRecommendedCloudProvider() const;
// Returns a weak pointer to the CloudPolicySubsystem managed by this
// policy connector, or NULL if no such subsystem exists (i.e. when running
@@ -86,6 +87,9 @@ class BrowserPolicyConnector {
// Activates the cloud policy subsystem.
void Initialize();
+ scoped_ptr<CloudPolicyProvider> managed_cloud_provider_;
+ scoped_ptr<CloudPolicyProvider> recommended_cloud_provider_;
Joao da Silva 2011/05/31 14:50:23 These are only used on ChromeOS, so how about wrap
sfeuz 2011/06/03 08:30:35 Obsolete. But I tried to put everything else which
+
scoped_ptr<ConfigurationPolicyProvider> managed_platform_provider_;
scoped_ptr<ConfigurationPolicyProvider> recommended_platform_provider_;

Powered by Google App Engine
This is Rietveld 408576698