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

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

Issue 10919131: Break out base functionality of UserCloudPolicyManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, address comments, fix compilation. Created 8 years, 3 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/cloud_policy_service.cc
diff --git a/chrome/browser/policy/cloud_policy_service.cc b/chrome/browser/policy/cloud_policy_service.cc
index 07488cf21397fc88f3fc54d6252bdaf1fae8ebb9..036a386f766db69b6cd3b3b7da7ed4b2cdecce9f 100644
--- a/chrome/browser/policy/cloud_policy_service.cc
+++ b/chrome/browser/policy/cloud_policy_service.cc
@@ -11,9 +11,9 @@ namespace em = enterprise_management;
namespace policy {
-CloudPolicyService::CloudPolicyService(scoped_ptr<CloudPolicyClient> client,
+CloudPolicyService::CloudPolicyService(CloudPolicyClient* client,
CloudPolicyStore* store)
- : client_(client.Pass()),
+ : client_(client),
store_(store),
refresh_state_(REFRESH_NONE) {
client_->AddObserver(this);

Powered by Google App Engine
This is Rietveld 408576698