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

Unified Diff: components/policy/core/common/cloud/user_cloud_policy_manager.h

Issue 116273002: Added support for signed policy blobs on desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup from self-review + cros clang fix. Created 6 years, 11 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: components/policy/core/common/cloud/user_cloud_policy_manager.h
diff --git a/components/policy/core/common/cloud/user_cloud_policy_manager.h b/components/policy/core/common/cloud/user_cloud_policy_manager.h
index 5c4068ece8cd7972389a98e193dcbd3153bdbffb..19d9c4d4b8f5d75f8aaa584fb6d5805346bf3263 100644
--- a/components/policy/core/common/cloud/user_cloud_policy_manager.h
+++ b/components/policy/core/common/cloud/user_cloud_policy_manager.h
@@ -40,6 +40,7 @@ class POLICY_EXPORT UserCloudPolicyManager : public CloudPolicyManager {
// |io_task_runner| is used for network IO. Currently this must be the IO
// BrowserThread.
UserCloudPolicyManager(
+ const std::string& verification_key_hash,
scoped_ptr<UserCloudPolicyStore> store,
const base::FilePath& component_policy_cache_path,
scoped_ptr<CloudExternalDataManager> external_data_manager,
@@ -73,8 +74,9 @@ class POLICY_EXPORT UserCloudPolicyManager : public CloudPolicyManager {
// Creates a CloudPolicyClient for this client. Used in situations where
// callers want to create a DMToken without actually initializing the
- // profile's policy infrastructure.
- static scoped_ptr<CloudPolicyClient> CreateCloudPolicyClient(
+ // profile's policy infrastructure (for example, during signin when we
+ // want to check if the user's domain requires policy).
+ scoped_ptr<CloudPolicyClient> CreateCloudPolicyClient(
DeviceManagementService* device_management_service,
scoped_refptr<net::URLRequestContextGetter> request_context);

Powered by Google App Engine
This is Rietveld 408576698