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

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

Issue 10449071: Enable user policy handling through the new cloud policy stack. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 8 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
« no previous file with comments | « chrome/browser/policy/browser_policy_connector.cc ('k') | chrome/browser/policy/cloud_policy_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/cloud_policy_service.h
diff --git a/chrome/browser/policy/cloud_policy_service.h b/chrome/browser/policy/cloud_policy_service.h
index fe5cc345e10fa2970ba5bd26c1a30a5aa85def9b..6288e7942e21d72c718fd78753f186a7cae3cf21 100644
--- a/chrome/browser/policy/cloud_policy_service.h
+++ b/chrome/browser/policy/cloud_policy_service.h
@@ -26,7 +26,7 @@ class CloudPolicyService : public CloudPolicyClient::Observer,
public CloudPolicyStore::Observer {
public:
CloudPolicyService(scoped_ptr<CloudPolicyClient> client,
- scoped_ptr<CloudPolicyStore> store);
+ CloudPolicyStore* store);
virtual ~CloudPolicyService();
// Returns the domain that manages this user/device, according to the current
@@ -38,7 +38,7 @@ class CloudPolicyService : public CloudPolicyClient::Observer,
void RefreshPolicy(const base::Closure& callback);
CloudPolicyClient* client() { return client_.get(); }
- CloudPolicyStore* store() { return store_.get(); }
+ CloudPolicyStore* store() { return store_; }
// CloudPolicyClient::Observer:
virtual void OnPolicyFetched(CloudPolicyClient* client) OVERRIDE;
@@ -57,7 +57,7 @@ class CloudPolicyService : public CloudPolicyClient::Observer,
scoped_ptr<CloudPolicyClient> client_;
// Takes care of persisting and decoding cloud policy.
- scoped_ptr<CloudPolicyStore> store_;
+ CloudPolicyStore* store_;
// Tracks the state of a pending refresh operation, if any.
enum {
« no previous file with comments | « chrome/browser/policy/browser_policy_connector.cc ('k') | chrome/browser/policy/cloud_policy_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698