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); |