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

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

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.cc
diff --git a/components/policy/core/common/cloud/user_cloud_policy_manager.cc b/components/policy/core/common/cloud/user_cloud_policy_manager.cc
index 6e473390f3714a14bbc971b00cda5a4e031b49aa..31ed364ebfffdf1e446e63992a41a74a4d06b3ec 100644
--- a/components/policy/core/common/cloud/user_cloud_policy_manager.cc
+++ b/components/policy/core/common/cloud/user_cloud_policy_manager.cc
@@ -20,6 +20,7 @@ namespace em = enterprise_management;
namespace policy {
UserCloudPolicyManager::UserCloudPolicyManager(
+ const std::string& verification_key_hash,
scoped_ptr<UserCloudPolicyStore> store,
const base::FilePath& component_policy_cache_path,
scoped_ptr<CloudExternalDataManager> external_data_manager,
@@ -28,6 +29,7 @@ UserCloudPolicyManager::UserCloudPolicyManager(
const scoped_refptr<base::SequencedTaskRunner>& io_task_runner)
: CloudPolicyManager(
PolicyNamespaceKey(GetChromeUserPolicyType(), std::string()),
+ verification_key_hash,
store.get(),
task_runner,
file_task_runner,
@@ -72,6 +74,7 @@ UserCloudPolicyManager::CreateCloudPolicyClient(
new CloudPolicyClient(
std::string(),
std::string(),
+ verification_key_hash(),
USER_AFFILIATION_NONE,
NULL,
device_management_service,

Powered by Google App Engine
This is Rietveld 408576698