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

Issue 353493002: Apps&Extensions for supervised users: Add Extension::WAS_INSTALLED_BY_CUSTODIAN flag and proto entry (Closed)

Created:
6 years, 6 months ago by Marc Treib
Modified:
6 years, 5 months ago
CC:
chromium-reviews, tim+watch_chromium.org, extensions-reviews_chromium.org, zea+watch_chromium.org, haitaol+watch_chromium.org, albertb+watch_chromium.org, chromium-apps-reviews_chromium.org, maniscalco+watch_chromium.org, markusheintz_
Project:
chromium
Visibility:
Public.

Description

Apps&Extensions for supervised users: Add Extension::WAS_INSTALLED_BY_CUSTODIAN flag and proto entry. Currently, supervised users can not use Apps/Extensions at all. In the future, their custodian will be able to remotely install Apps/Extensions for them. This CL introduces a new extension flag and corresponding proto entry that marks these extensions, so we can allow only those in the client. Relevant design doc section: https://docs.google.com/a/google.com/document/d/1rqahhrErR_HiZ04v-Skb_kvXeyOfnTvBPFvKwAxuf10/edit#heading=h.ptivtbjwlda5 BUG=390520 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283522

Patch Set 1 #

Patch Set 2 : update test #

Total comments: 9

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -38 lines) Patch
M chrome/browser/extensions/app_sync_data_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 8 chunks +41 lines, -28 lines 0 comments Download
M chrome/browser/extensions/extension_sync_data.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_sync_data.cc View 5 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_sync_service.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/pending_extension_manager.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/pending_extension_manager.cc View 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_service.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/themes/theme_syncable_service.cc View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M extensions/common/extension.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M extensions/common/extension.cc View 1 chunk +1 line, -1 line 0 comments Download
M sync/protocol/extension_specifics.proto View 1 chunk +3 lines, -0 lines 0 comments Download
M sync/protocol/proto_value_conversions.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
Marc Treib
PTAL! bauerb: Please look at c/b/supervised_user/ kalman: Please look at c/b/extensions/ and extensions/common/ pkotwicz: Please ...
6 years, 5 months ago (2014-07-01 12:50:19 UTC) #1
Bernhard Bauer
Description nit: Please add the title as the first line of the description (the description ...
6 years, 5 months ago (2014-07-01 13:25:42 UTC) #2
not at google - send to devlin
https://codereview.chromium.org/353493002/diff/20001/extensions/common/extension.h File extensions/common/extension.h (right): https://codereview.chromium.org/353493002/diff/20001/extensions/common/extension.h#newcode174 extensions/common/extension.h:174: // custodian of a supervised user. this would be ...
6 years, 5 months ago (2014-07-01 17:22:47 UTC) #3
not at google - send to devlin
https://codereview.chromium.org/353493002/diff/20001/extensions/common/extension.h File extensions/common/extension.h (right): https://codereview.chromium.org/353493002/diff/20001/extensions/common/extension.h#newcode174 extensions/common/extension.h:174: // custodian of a supervised user. On 2014/07/01 17:22:47, ...
6 years, 5 months ago (2014-07-01 17:23:30 UTC) #4
Nicolas Zea
sync lgtm
6 years, 5 months ago (2014-07-01 17:39:14 UTC) #5
Marc Treib
https://codereview.chromium.org/353493002/diff/20001/extensions/common/extension.h File extensions/common/extension.h (right): https://codereview.chromium.org/353493002/diff/20001/extensions/common/extension.h#newcode174 extensions/common/extension.h:174: // custodian of a supervised user. On 2014/07/01 17:22:47, ...
6 years, 5 months ago (2014-07-02 11:58:12 UTC) #6
not at google - send to devlin
https://codereview.chromium.org/353493002/diff/20001/chrome/browser/themes/theme_syncable_service.cc File chrome/browser/themes/theme_syncable_service.cc (right): https://codereview.chromium.org/353493002/diff/20001/chrome/browser/themes/theme_syncable_service.cc#newcode245 chrome/browser/themes/theme_syncable_service.cc:245: kRemoteInstall, (this seems like another candidate for using InstallFlags) ...
6 years, 5 months ago (2014-07-02 16:18:56 UTC) #7
Marc Treib
https://codereview.chromium.org/353493002/diff/20001/extensions/common/extension.h File extensions/common/extension.h (right): https://codereview.chromium.org/353493002/diff/20001/extensions/common/extension.h#newcode174 extensions/common/extension.h:174: // custodian of a supervised user. On 2014/07/02 16:18:56, ...
6 years, 5 months ago (2014-07-07 08:58:17 UTC) #8
Bernhard Bauer
https://codereview.chromium.org/353493002/diff/20001/extensions/common/extension.h File extensions/common/extension.h (right): https://codereview.chromium.org/353493002/diff/20001/extensions/common/extension.h#newcode174 extensions/common/extension.h:174: // custodian of a supervised user. On 2014/07/07 08:58:17, ...
6 years, 5 months ago (2014-07-07 09:11:58 UTC) #9
Marc Treib
https://codereview.chromium.org/353493002/diff/20001/extensions/common/extension.h File extensions/common/extension.h (right): https://codereview.chromium.org/353493002/diff/20001/extensions/common/extension.h#newcode174 extensions/common/extension.h:174: // custodian of a supervised user. On 2014/07/07 09:11:58, ...
6 years, 5 months ago (2014-07-07 09:20:04 UTC) #10
not at google - send to devlin
On 2014/07/07 09:20:04, treib wrote: > https://codereview.chromium.org/353493002/diff/20001/extensions/common/extension.h > File extensions/common/extension.h (right): > > https://codereview.chromium.org/353493002/diff/20001/extensions/common/extension.h#newcode174 > ...
6 years, 5 months ago (2014-07-07 15:03:51 UTC) #11
not at google - send to devlin
and mek@
6 years, 5 months ago (2014-07-07 15:04:04 UTC) #12
Marc Treib
On 2014/07/07 15:03:51, kalman wrote: > On 2014/07/07 09:20:04, treib wrote: > > > https://codereview.chromium.org/353493002/diff/20001/extensions/common/extension.h ...
6 years, 5 months ago (2014-07-07 15:24:11 UTC) #13
not at google - send to devlin
I filed crbug.com/391749 a few minutes ago. Maybe that's a pre-requisite after all. An approximation ...
6 years, 5 months ago (2014-07-07 15:26:08 UTC) #14
Yoyo Zhou
https://codereview.chromium.org/353493002/diff/20001/extensions/common/extension.h File extensions/common/extension.h (right): https://codereview.chromium.org/353493002/diff/20001/extensions/common/extension.h#newcode174 extensions/common/extension.h:174: // custodian of a supervised user. On 2014/07/07 09:20:04, ...
6 years, 5 months ago (2014-07-08 01:55:11 UTC) #15
Marijn Kruisselbrink
I'm not sure I quite follow what this flag is supposed to do? If only ...
6 years, 5 months ago (2014-07-08 15:23:07 UTC) #16
Marc Treib
On 2014/07/08 15:23:07, Marijn Kruisselbrink wrote: > I'm not sure I quite follow what this ...
6 years, 5 months ago (2014-07-09 15:43:24 UTC) #17
Marc Treib
Alright, since there's agreement now that we actually want the flag, we're back to the ...
6 years, 5 months ago (2014-07-10 11:59:55 UTC) #18
not at google - send to devlin
On 2014/07/10 11:59:55, treib wrote: > Alright, since there's agreement now that we actually want ...
6 years, 5 months ago (2014-07-10 15:17:50 UTC) #19
Marc Treib
On 2014/07/10 15:17:50, kalman (OOO July 11-14) wrote: > On 2014/07/10 11:59:55, treib wrote: > ...
6 years, 5 months ago (2014-07-11 09:03:22 UTC) #20
Marc Treib
On 2014/07/11 09:03:22, treib wrote: > On 2014/07/10 15:17:50, kalman (OOO July 11-14) wrote: > ...
6 years, 5 months ago (2014-07-14 13:41:42 UTC) #21
not at google - send to devlin
> Then I guess most of the flags in InitFromValueFlags shouldn't really be there? Yeah. ...
6 years, 5 months ago (2014-07-15 16:11:23 UTC) #22
not at google - send to devlin
lgtm
6 years, 5 months ago (2014-07-15 16:21:38 UTC) #23
pkotwicz
chrome/browser/themes/theme_syncable_service.cc LGTM
6 years, 5 months ago (2014-07-16 02:20:38 UTC) #24
Marc Treib
The CQ bit was checked by treib@chromium.org
6 years, 5 months ago (2014-07-16 08:04:22 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/treib@chromium.org/353493002/40001
6 years, 5 months ago (2014-07-16 08:07:17 UTC) #26
commit-bot: I haz the power
6 years, 5 months ago (2014-07-16 21:42:14 UTC) #27
Message was sent while issue was closed.
Change committed as 283522

Powered by Google App Engine
This is Rietveld 408576698