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

Issue 79023002: Support cloud policy for extensions on the desktop platforms. (Closed)

Created:
7 years, 1 month ago by Joao da Silva
Modified:
7 years ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org, Mattias Nissler (ping if slow)
Visibility:
Public.

Description

Support cloud policy for extensions on the desktop platforms. The ComponentCloudPolicyService manages the storage and updates of cloud policy for chrome components, such as extensions. This component is now managed by the CloudPolicyManager, so that the UserCloudPolicyManagers can share its lifetime logic. Later it may be used by the DeviceCloudPolicyManager and the local accounts policy manager. This feature is still disabled by default behind a flag. BUG=108992 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237300

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Patch Set 5 : fixed stub #

Patch Set 6 : fixed typo #

Patch Set 7 : fixed browser_tests on mac #

Patch Set 8 : fixed stub, again #

Total comments: 29

Patch Set 9 : off by default #

Patch Set 10 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+312 lines, -126 lines) Patch
M chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc View 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h View 1 2 3 4 5 6 7 8 5 chunks +12 lines, -18 lines 0 comments Download
M chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc View 1 2 3 4 5 6 7 8 8 chunks +14 lines, -58 lines 0 comments Download
M chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc View 3 chunks +19 lines, -8 lines 0 comments Download
M chrome/browser/policy/cloud/cloud_policy_manager.h View 1 2 3 4 5 6 7 8 4 chunks +29 lines, -7 lines 0 comments Download
M chrome/browser/policy/cloud/cloud_policy_manager.cc View 1 2 3 4 5 6 7 8 4 chunks +58 lines, -8 lines 0 comments Download
M chrome/browser/policy/cloud/cloud_policy_manager_unittest.cc View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc View 1 2 3 4 5 6 7 8 5 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/policy/cloud/component_cloud_policy_service.h View 1 2 3 4 5 6 7 8 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/policy/cloud/component_cloud_policy_service.cc View 1 2 3 4 5 6 2 chunks +6 lines, -1 line 0 comments Download
A chrome/browser/policy/cloud/component_cloud_policy_service_stub.cc View 1 2 3 4 5 6 7 1 chunk +56 lines, -0 lines 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_manager.h View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_manager.cc View 1 2 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h View 1 2 3 4 5 6 7 8 2 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc View 1 2 3 4 5 6 7 8 4 chunks +34 lines, -4 lines 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_manager_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/policy/test/policy_testserver.py View 1 2 3 4 5 6 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M components/policy/core/common/policy_switches.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Joao da Silva
Wrapping up weeks of work, we're finally able to enable this stuff on the desktop ...
7 years, 1 month ago (2013-11-20 18:29:49 UTC) #1
Joao da Silva
PTAL @Bartosz: ping @Jochen: gypi and profile changes Thanks!
7 years ago (2013-11-25 09:23:46 UTC) #2
bartfab (slow)
lgtm https://codereview.chromium.org/79023002/diff/560006/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc File chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc (right): https://codereview.chromium.org/79023002/diff/560006/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc#newcode19 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc:19: #include "chrome/browser/policy/cloud/resource_cache.h" Nit: No longeer used. https://codereview.chromium.org/79023002/diff/560006/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc#newcode20 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc:20: ...
7 years ago (2013-11-25 15:05:49 UTC) #3
jochen (gone - plz use gerrit)
can you please split up the CL such that enabling this is a very small ...
7 years ago (2013-11-25 15:51:21 UTC) #4
Joao da Silva
Addressed Bartosz' comments; also updated the bug (and its privacy review bug) with a milestone ...
7 years ago (2013-11-25 16:44:11 UTC) #5
bartfab (slow)
https://codereview.chromium.org/79023002/diff/560006/components/policy/core/common/policy_switches.cc File components/policy/core/common/policy_switches.cc (right): https://codereview.chromium.org/79023002/diff/560006/components/policy/core/common/policy_switches.cc#newcode20 components/policy/core/common/policy_switches.cc:20: const char kDisableComponentCloudPolicy[] = "enable-component-cloud-policy"; On 2013/11/25 16:44:11, Joao ...
7 years ago (2013-11-25 16:46:31 UTC) #6
jochen (gone - plz use gerrit)
please update the CL description, since you don't turn it on by default anymore lgtm
7 years ago (2013-11-26 08:31:30 UTC) #7
Joao da Silva
Updated the description. Thanks for the reviews!
7 years ago (2013-11-26 08:36:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/79023002/1130001
7 years ago (2013-11-26 08:37:17 UTC) #9
commit-bot: I haz the power
7 years ago (2013-11-26 10:38:49 UTC) #10
Message was sent while issue was closed.
Change committed as 237300

Powered by Google App Engine
This is Rietveld 408576698