Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Issue 2144313002: Plumbing for login apps device policy to extensions. (Closed)

Created:
4 years, 5 months ago by achuithb
Modified:
3 years, 9 months ago
Reviewers:
Devlin, emaxx
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Plumbing for login apps device policy to extensions. Device policy kDeviceLoginScreenAppInstallList is parsed and stored as the pref kInstallLoginScreenAppList. ExtensionManagement: * Factor out common code into GetInstallListByMode from GetForceInstallList and GetRecommendedInstallList. * Common function UpdateForcedExtensions. * is_signin_profile so kInstallLoginScreenAppList is only set in the chromeos signin profile. ExtensionInstallListPolicyHandler: * Common base class to parse login screen app and force extension install lists. ExtensionPref: * extensions.install.login_screen_app_list. BUG=576464 Review-Url: https://codereview.chromium.org/2144313002 Cr-Commit-Position: refs/heads/master@{#455434} Committed: https://chromium.googlesource.com/chromium/src/+/4607f0768d8b4ab1d3856d886ed1d5e2e0dd3766

Patch Set 1 #

Total comments: 4

Patch Set 2 : Limit login apps to login profile. #

Patch Set 3 : rebase #

Patch Set 4 : minor #

Total comments: 9

Patch Set 5 : comments #

Total comments: 1

Patch Set 6 : Rename loginlist #

Patch Set 7 : Fix unit tests #

Total comments: 2

Patch Set 8 : Fix comment #

Total comments: 8

Patch Set 9 : Devlin feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -68 lines) Patch
M chrome/browser/extensions/extension_management.h View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_management.cc View 1 2 3 4 5 6 7 8 7 chunks +59 lines, -38 lines 0 comments Download
M chrome/browser/extensions/extension_management_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/permissions_based_management_policy_provider_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/policy_handlers.h View 1 2 3 4 5 6 7 8 1 chunk +32 lines, -4 lines 0 comments Download
M chrome/browser/extensions/policy_handlers.cc View 1 2 3 4 5 6 7 8 3 chunks +33 lines, -21 lines 0 comments Download
M chrome/browser/extensions/standard_management_policy_provider_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/browser/extension_prefs.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/pref_names.h View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M extensions/browser/pref_names.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 72 (42 generated)
achuithb
Max, let me know what you think. This has just the parts that convert policy ...
4 years, 5 months ago (2016-07-14 15:35:55 UTC) #4
achuithb
The complete CL is here: https://codereview.chromium.org/2150483004/
4 years, 5 months ago (2016-07-14 15:36:27 UTC) #5
achuithb
On 2016/07/14 15:36:27, achuithb wrote: > The complete CL is here: > https://codereview.chromium.org/2150483004/ Part II ...
4 years, 5 months ago (2016-07-14 15:45:39 UTC) #6
achuithb
4 years, 5 months ago (2016-07-15 08:45:22 UTC) #10
emaxx
https://codereview.chromium.org/2144313002/diff/1/chrome/browser/extensions/extension_management.cc File chrome/browser/extensions/extension_management.cc (right): https://codereview.chromium.org/2144313002/diff/1/chrome/browser/extensions/extension_management.cc#newcode319 chrome/browser/extensions/extension_management.cc:319: UpdateForcedExtensions(login_list_pref); I think this line should be performed only ...
4 years, 5 months ago (2016-07-15 13:22:31 UTC) #11
achuithb
Please excuse the rebase. There's also a CHECK that's triggered that I need to fix ...
4 years, 5 months ago (2016-07-21 00:16:05 UTC) #12
achuithb
3 years, 10 months ago (2017-02-21 16:07:16 UTC) #18
achuithb
Maksim, could you PTAL? I've reconciled this CL with Denis's work. The points of difference ...
3 years, 10 months ago (2017-02-21 16:17:25 UTC) #19
emaxx
Looks good in general. On 2017/02/21 16:17:25, achuithb wrote: > 3. I continue to use ...
3 years, 10 months ago (2017-02-21 19:43:50 UTC) #20
emaxx
https://codereview.chromium.org/2144313002/diff/120001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/2144313002/diff/120001/chrome/browser/extensions/extension_service.cc#newcode1494 chrome/browser/extensions/extension_service.cc:1494: DVLOG(1) << "AddExtension " << extension->name() << ", " ...
3 years, 10 months ago (2017-02-21 19:44:10 UTC) #21
achuithb
PTAL, Max. https://codereview.chromium.org/2144313002/diff/120001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/2144313002/diff/120001/chrome/browser/extensions/extension_service.cc#newcode1494 chrome/browser/extensions/extension_service.cc:1494: DVLOG(1) << "AddExtension " << extension->name() << ...
3 years, 10 months ago (2017-02-22 14:39:34 UTC) #22
emaxx
Now that the policy rename in http://crrev.com/2711553002 has landed, could you please rebase and update ...
3 years, 10 months ago (2017-02-24 04:12:40 UTC) #23
achuithb
I've rebased and renamed the policy/pref. PTAL Max https://codereview.chromium.org/2144313002/diff/140001/extensions/browser/extension_prefs.cc File extensions/browser/extension_prefs.cc (right): https://codereview.chromium.org/2144313002/diff/140001/extensions/browser/extension_prefs.cc#newcode320 extensions/browser/extension_prefs.cc:320: base::debug::SetCrashKeyValue( ...
3 years, 9 months ago (2017-02-27 14:05:03 UTC) #27
emaxx
On 2017/02/27 14:05:03, achuithb wrote: > I've rebased and renamed the policy/pref. PTAL Max Looks ...
3 years, 9 months ago (2017-02-27 17:29:59 UTC) #30
achuithb
On 2017/02/27 17:29:59, emaxx wrote: > On 2017/02/27 14:05:03, achuithb wrote: > > I've rebased ...
3 years, 9 months ago (2017-03-01 13:13:46 UTC) #38
emaxx
LGTM https://codereview.chromium.org/2144313002/diff/220001/extensions/browser/pref_names.h File extensions/browser/pref_names.h (right): https://codereview.chromium.org/2144313002/diff/220001/extensions/browser/pref_names.h#newcode72 extensions/browser/pref_names.h:72: // on ChromeOS at startup time. It is ...
3 years, 9 months ago (2017-03-01 13:54:36 UTC) #39
achuithb
Devlin, could you PTAL as owner. Note that a similar CL was landed a while ...
3 years, 9 months ago (2017-03-01 14:11:29 UTC) #45
achuithb
Devlin - gentle ping. You inadvertently left feedback on the closed CL.
3 years, 9 months ago (2017-03-03 11:13:13 UTC) #48
Devlin
On 2017/03/03 11:13:13, achuithb wrote: > Devlin - gentle ping. You inadvertently left feedback on ...
3 years, 9 months ago (2017-03-03 17:24:48 UTC) #49
achuithb
On 2017/03/03 17:24:48, Devlin wrote: > On 2017/03/03 11:13:13, achuithb wrote: > > Devlin - ...
3 years, 9 months ago (2017-03-06 15:24:42 UTC) #52
achuithb
Thanks for the review, Devlin. PTAL! https://codereview.chromium.org/2144313002/diff/240001/chrome/browser/extensions/extension_management.cc File chrome/browser/extensions/extension_management.cc (right): https://codereview.chromium.org/2144313002/diff/240001/chrome/browser/extensions/extension_management.cc#newcode118 chrome/browser/extensions/extension_management.cc:118: ExtensionManagement::GetInstallListByMode( On 2017/03/03 ...
3 years, 9 months ago (2017-03-06 15:25:32 UTC) #53
achuithb
https://codereview.chromium.org/2144313002/diff/240001/chrome/browser/extensions/extension_management.h File chrome/browser/extensions/extension_management.h (right): https://codereview.chromium.org/2144313002/diff/240001/chrome/browser/extensions/extension_management.h#newcode73 chrome/browser/extensions/extension_management.h:73: explicit ExtensionManagement(Profile* profile); On 2017/03/03 17:24:48, Devlin wrote: > ...
3 years, 9 months ago (2017-03-06 15:26:04 UTC) #54
Devlin
lgtm
3 years, 9 months ago (2017-03-07 19:42:13 UTC) #58
achuithb
On 2017/03/07 19:42:13, Devlin wrote: > lgtm Thank you!
3 years, 9 months ago (2017-03-08 00:14:16 UTC) #59
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/2144313002/260001
3 years, 9 months ago (2017-03-08 00:15:11 UTC) #62
emaxx
Sorry, but if it's still not too late - please update the CL description (new ...
3 years, 9 months ago (2017-03-08 00:17:38 UTC) #63
achuithb
On 2017/03/08 00:17:38, emaxx wrote: > Sorry, but if it's still not too late - ...
3 years, 9 months ago (2017-03-08 00:20:37 UTC) #65
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/2144313002/260001
3 years, 9 months ago (2017-03-08 10:35:12 UTC) #68
achuithb
On 2017/03/08 00:17:38, emaxx wrote: > Sorry, but if it's still not too late - ...
3 years, 9 months ago (2017-03-08 10:35:52 UTC) #69
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 11:49:56 UTC) #72

Powered by Google App Engine
This is Rietveld 408576698