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

Issue 782483002: DeviceCloudPolicyStore should load consumer policies so that other classes may function normally. (Closed)

Created:
6 years ago by davidyu
Modified:
6 years ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

DeviceCloudPolicyStore should load consumer policies so that other classes may function normally. Other classes that depend on DeviceCloudPolicyStore to work normally include CloudPolicyManager, CloudPolicyService, and CloudPolicyInvalidator. PolicyUI, VersionInfoUpdater, SystemTrayDelegateChromeOS, and PolicyHeaderService also observe on DeviceCloudPolicyStore, but they don't really use the policy from the store and can work either way. BUG=chromium:353050 TEST=unit_tests Committed: https://crrev.com/166c0f0be9bc0d02a6744cfcf2cdd1c073517703 Cr-Commit-Position: refs/heads/master@{#307022}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -39 lines) Patch
M chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc View 1 2 2 chunks +58 lines, -39 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc View 1 4 chunks +36 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
davidyu
6 years ago (2014-12-05 10:45:07 UTC) #4
Mattias Nissler (ping if slow)
https://codereview.chromium.org/782483002/diff/40001/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc File chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc (right): https://codereview.chromium.org/782483002/diff/40001/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc#newcode151 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc:151: policy_.reset(new em::PolicyData()); Why can't you just copy device_settings_service_->policy_data? https://codereview.chromium.org/782483002/diff/40001/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc#newcode154 ...
6 years ago (2014-12-05 12:28:37 UTC) #5
Mattias Nissler (ping if slow)
On 2014/12/05 12:28:37, Mattias Nissler wrote: > https://codereview.chromium.org/782483002/diff/40001/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc > File chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc > (right): > > ...
6 years ago (2014-12-05 12:30:05 UTC) #6
davidyu
Updated the CL according to our meeting. The policy blob is now loaded, but PolicyMap ...
6 years ago (2014-12-05 13:54:10 UTC) #7
Mattias Nissler (ping if slow)
LGTM (pending green try jobs). https://codereview.chromium.org/782483002/diff/60001/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc File chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc (right): https://codereview.chromium.org/782483002/diff/60001/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc#newcode164 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc:164: // For enterprise devices, ...
6 years ago (2014-12-05 14:02:34 UTC) #8
davidyu
https://codereview.chromium.org/782483002/diff/60001/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc File chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc (right): https://codereview.chromium.org/782483002/diff/60001/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc#newcode164 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc:164: // For enterprise devices, Once per session, validate internal ...
6 years ago (2014-12-05 14:08:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/782483002/80001
6 years ago (2014-12-05 14:09:24 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:80001)
6 years ago (2014-12-05 14:50:12 UTC) #14
commit-bot: I haz the power
6 years ago (2014-12-05 14:50:50 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/166c0f0be9bc0d02a6744cfcf2cdd1c073517703
Cr-Commit-Position: refs/heads/master@{#307022}

Powered by Google App Engine
This is Rietveld 408576698