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

Issue 2441653003: Enable fetching of admin policies for login screen apps (Closed)

Created:
4 years, 2 months ago by emaxx
Modified:
4 years, 1 month ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable fetching of admin policies for login screen apps This introduces fetching of admin policies for login screen apps. The policy is fetched using a special policy domain, and is fetched as a part of the device policy. BUG=644304 TEST=new unit and browser tests Committed: https://crrev.com/ebe5cbc5306ce6938a0b79a68eaebefcd16a1c2f Cr-Commit-Position: refs/heads/master@{#431168}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Rebase #

Patch Set 3 : Process Drew's feedback #

Patch Set 4 : Process Drew's feedback #

Patch Set 5 : Cleaner way for policy refresh after enrollment. Remove parametrization from ForwardingSchemaRegist… #

Patch Set 6 : Add forgotten item into protobuf comment #

Patch Set 7 : Rebase #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+551 lines, -33 lines) Patch
M chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc View 1 2 2 chunks +314 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h View 1 2 3 3 chunks +24 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc View 1 2 3 4 5 chunks +27 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc View 1 2 3 2 chunks +23 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/storage/managed_value_store_cache.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/storage/managed_value_store_cache.cc View 1 2 3 4 5 6 3 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/policy/profile_policy_connector_factory.cc View 3 chunks +11 lines, -1 line 0 comments Download
A chrome/test/data/extensions/profiles/signin_screen_managed_storage/Default/Extensions/baogpbmpccplckhhehfipokjaflkmbno/README View 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/profiles/signin_screen_managed_storage/Default/Preferences View 1 chunk +21 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/signin_screen_managed_storage/manifest.json View 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/signin_screen_managed_storage/schema.json View 1 chunk +6 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/signin_screen_managed_storage/test.html View 1 chunk +1 line, -1 line 0 comments Download
A chrome/test/data/extensions/signin_screen_managed_storage/test.js View 1 chunk +14 lines, -0 lines 0 comments Download
M chromeos/chromeos_paths.h View 1 2 3 2 chunks +19 lines, -15 lines 0 comments Download
M chromeos/chromeos_paths.cc View 1 2 3 3 chunks +9 lines, -0 lines 0 comments Download
M components/policy/core/common/cloud/cloud_policy_manager.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M components/policy/core/common/cloud/cloud_policy_manager.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M components/policy/core/common/cloud/user_cloud_policy_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/policy/core/common/schema_registry.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M components/policy/core/common/schema_registry.cc View 1 2 3 4 5 6 3 chunks +10 lines, -0 lines 0 comments Download
M components/policy/core/common/schema_registry_unittest.cc View 1 2 3 4 5 6 7 2 chunks +28 lines, -8 lines 0 comments Download
M components/policy/proto/device_management_backend.proto View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 65 (52 generated)
emaxx
Hi Bartosz, Could you PTAL? I've split the original CL, so this part is now ...
4 years, 2 months ago (2016-10-21 03:45:04 UTC) #5
emaxx
Drew, PTAL.
4 years, 1 month ago (2016-10-24 15:48:33 UTC) #9
Andrew T Wilson (Slow)
LGTM with a few comments https://codereview.chromium.org/2441653003/diff/1/chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc File chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc (right): https://codereview.chromium.org/2441653003/diff/1/chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc#newcode108 chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc:108: command_line->AppendSwitchASCII(::switches::kDisableExtensionsExcept, Why is this ...
4 years, 1 month ago (2016-10-28 14:49:56 UTC) #10
emaxx
https://codereview.chromium.org/2441653003/diff/1/chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc File chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc (right): https://codereview.chromium.org/2441653003/diff/1/chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc#newcode108 chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc:108: command_line->AppendSwitchASCII(::switches::kDisableExtensionsExcept, On 2016/10/28 14:49:56, Andrew T Wilson (Slow) wrote: ...
4 years, 1 month ago (2016-10-31 15:51:20 UTC) #31
Andrew T Wilson (Slow)
On 2016/10/31 15:51:20, emaxx wrote: > So I really don't know how to make sure ...
4 years, 1 month ago (2016-10-31 20:30:04 UTC) #32
Andrew T Wilson (Slow)
still LGTM https://codereview.chromium.org/2441653003/diff/1/chrome/browser/chromeos/policy/device_cloud_policy_initializer.cc File chrome/browser/chromeos/policy/device_cloud_policy_initializer.cc (right): https://codereview.chromium.org/2441653003/diff/1/chrome/browser/chromeos/policy/device_cloud_policy_initializer.cc#newcode243 chrome/browser/chromeos/policy/device_cloud_policy_initializer.cc:243: manager_->RefreshPolicies(); On 2016/10/31 15:51:20, emaxx wrote: > ...
4 years, 1 month ago (2016-10-31 20:44:11 UTC) #33
emaxx
Updated the CL: 1. Make the policy refresh after enrollment in a bit more natural ...
4 years, 1 month ago (2016-11-03 15:51:28 UTC) #36
emaxx
Adding more reviewers for OWNERS review. PTAL. Devlin: chrome/browser/extensions/api/storage/** Steven: chromeos/chromeos_paths.*
4 years, 1 month ago (2016-11-03 18:22:10 UTC) #40
stevenjb
RS lgtm
4 years, 1 month ago (2016-11-03 18:26:55 UTC) #41
Devlin
extensions lgtm
4 years, 1 month ago (2016-11-05 02:03:44 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2441653003/130001
4 years, 1 month ago (2016-11-10 03:35:06 UTC) #61
commit-bot: I haz the power
Committed patchset #8 (id:130001)
4 years, 1 month ago (2016-11-10 03:40:02 UTC) #63
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 03:42:21 UTC) #65
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/ebe5cbc5306ce6938a0b79a68eaebefcd16a1c2f
Cr-Commit-Position: refs/heads/master@{#431168}

Powered by Google App Engine
This is Rietveld 408576698