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

Issue 2004043002: Supervised Users Initiated Installs v2 (Closed)

Created:
4 years, 7 months ago by mamir
Modified:
4 years, 5 months ago
CC:
asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org, pam+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@kid_initiated_install
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Supervised users initiated extensions installs Supervised users can install apps and extension. The extension will be installed in a disabled state and an approval request will be sent to their custodian. If the custodian approves the request, the extension will be enabled. If the custodian denies the request, the extension will be uninstalled. BUG=619526 Committed: https://crrev.com/e960964b7ea2caff5289d4a2f40488af7613389d Cr-Commit-Position: refs/heads/master@{#402570}

Patch Set 1 #

Patch Set 2 : Style fix #

Total comments: 42

Patch Set 3 : Response to 1st round of code review from treib@ #

Patch Set 4 : reparent #

Patch Set 5 : Removing unrelated formating changes. #

Patch Set 6 : minor #

Total comments: 49

Patch Set 7 : Response to code review feedback #

Patch Set 8 : Checking approved version #

Patch Set 9 : Fixing updates of SU initiated installs #

Total comments: 14

Patch Set 10 : Code review response #

Total comments: 26

Patch Set 11 : Response to code review by treib@ #

Total comments: 10

Patch Set 12 : Testing if the approved version is pushed to sync upon extension update #

Patch Set 13 : Response to code review by treib@ #

Total comments: 2

Patch Set 14 : Response to code review by treib@ #

Total comments: 2

Patch Set 15 : Adding a comment in a response to review by treib@ #

Total comments: 8

Patch Set 16 : Response to feedback from rdevlin.cronin@ #

Total comments: 20

Patch Set 17 : Response to codereview by rdevlin.cronin@ #

Total comments: 24

Patch Set 18 : Response to code review from Marc #

Total comments: 25

Patch Set 19 : response to cdoe review by treib@ #

Patch Set 20 : Respones to code review by Marc #

Total comments: 31

Patch Set 21 : Response to code review by Marc #

Patch Set 22 : minor #

Total comments: 2

Patch Set 23 : minor #

Total comments: 12

Patch Set 24 : Response to code review by Devlin #

Total comments: 2

Patch Set 25 : rebasing #

Patch Set 26 : adding missing dep #

Patch Set 27 : rebasing #

Patch Set 28 : Removing uncessary changes after rebasing #

Patch Set 29 : Response to code review by Devlin and fixing a test #

Total comments: 10

Patch Set 30 : Fixing the build for ChromeOS and Android #

Patch Set 31 : hiding extensions related code behind #ifdefine #

Patch Set 32 : Hiding SUService::UpdateApprovedExtensions behind ifdef Ext. #

Patch Set 33 : Hiding extensions related code behind #ifdefine #

Total comments: 14

Patch Set 34 : Response to code review by Marc #

Total comments: 14

Patch Set 35 : Response to code review by Devlin #

Total comments: 2

Patch Set 36 : Fixing the DelegatedAndPreinstalledExtension test #

Patch Set 37 : Small change to CheckDisabledForCustodianApproval #

Total comments: 7

Patch Set 38 : Response to code review by Marc #

Patch Set 39 : fixing the build #

Patch Set 40 : Fixing the build again! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+930 lines, -126 lines) Patch
M chrome/browser/extensions/extension_service_sync_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 18 chunks +388 lines, -62 lines 0 comments Download
M chrome/browser/extensions/extension_service_test_with_install.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_sync_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 3 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/supervised_user/child_accounts/permission_request_creator_apiary.h View 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/child_accounts/permission_request_creator_apiary.cc View 3 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/legacy/permission_request_creator_sync.h View 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/legacy/permission_request_creator_sync.cc View 3 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/permission_request_creator.h View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_constants.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_constants.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/supervised_user/supervised_user_features.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/browser/supervised_user/supervised_user_features.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_pref_store.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 8 chunks +53 lines, -15 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 17 chunks +245 lines, -29 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 5 chunks +95 lines, -2 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_settings_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_settings_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +13 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/DEPS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/base/testing_profile.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 7 chunks +43 lines, -10 lines 0 comments Download
M extensions/common/extension.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +3 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 103 (27 generated)
mamir
4 years, 7 months ago (2016-05-23 14:47:30 UTC) #3
Marc Treib
https://codereview.chromium.org/2004043002/diff/20001/chrome/browser/extensions/extension_service_sync_unittest.cc File chrome/browser/extensions/extension_service_sync_unittest.cc (left): https://codereview.chromium.org/2004043002/diff/20001/chrome/browser/extensions/extension_service_sync_unittest.cc#oldcode1846 chrome/browser/extensions/extension_service_sync_unittest.cc:1846: ext_specifics->set_installed_by_custodian(true); Don't remove this https://codereview.chromium.org/2004043002/diff/20001/chrome/browser/extensions/extension_service_sync_unittest.cc File chrome/browser/extensions/extension_service_sync_unittest.cc (right): https://codereview.chromium.org/2004043002/diff/20001/chrome/browser/extensions/extension_service_sync_unittest.cc#newcode317 ...
4 years, 7 months ago (2016-05-23 15:32:43 UTC) #4
mamir
Thank you Marc for useful comments. I think there is something wrong with the formatting, ...
4 years, 7 months ago (2016-05-23 19:35:15 UTC) #5
Marc Treib
On 2016/05/23 19:35:15, mamir wrote: > Thank you Marc for useful comments. > I think ...
4 years, 7 months ago (2016-05-24 08:28:09 UTC) #6
Marc Treib
https://codereview.chromium.org/2004043002/diff/20001/chrome/browser/extensions/extension_service_sync_unittest.cc File chrome/browser/extensions/extension_service_sync_unittest.cc (right): https://codereview.chromium.org/2004043002/diff/20001/chrome/browser/extensions/extension_service_sync_unittest.cc#newcode1991 chrome/browser/extensions/extension_service_sync_unittest.cc:1991: extension_sync_service()->ProcessSyncChanges(FROM_HERE, list1); On 2016/05/23 19:35:14, mamir wrote: > On ...
4 years, 7 months ago (2016-05-24 09:54:58 UTC) #7
mamir
https://codereview.chromium.org/2004043002/diff/20001/chrome/browser/extensions/extension_service_sync_unittest.cc File chrome/browser/extensions/extension_service_sync_unittest.cc (right): https://codereview.chromium.org/2004043002/diff/20001/chrome/browser/extensions/extension_service_sync_unittest.cc#newcode1991 chrome/browser/extensions/extension_service_sync_unittest.cc:1991: extension_sync_service()->ProcessSyncChanges(FROM_HERE, list1); On 2016/05/24 09:54:57, Marc Treib wrote: > ...
4 years, 6 months ago (2016-06-03 09:45:55 UTC) #8
Marc Treib
https://codereview.chromium.org/2004043002/diff/20002/chrome/test/base/testing_profile.cc File chrome/test/base/testing_profile.cc (right): https://codereview.chromium.org/2004043002/diff/20002/chrome/test/base/testing_profile.cc#newcode425 chrome/test/base/testing_profile.cc:425: #if defined(ENABLE_SUPERVISED_USERS) On 2016/06/03 09:45:55, mamir wrote: > On ...
4 years, 6 months ago (2016-06-03 13:24:14 UTC) #9
mamir
https://codereview.chromium.org/2004043002/diff/20002/chrome/browser/supervised_user/supervised_user_service.h File chrome/browser/supervised_user/supervised_user_service.h (right): https://codereview.chromium.org/2004043002/diff/20002/chrome/browser/supervised_user/supervised_user_service.h#newcode430 chrome/browser/supervised_user/supervised_user_service.h:430: // Stores a map from extension_id -> latest approved ...
4 years, 6 months ago (2016-06-06 15:01:37 UTC) #10
Marc Treib
https://codereview.chromium.org/2004043002/diff/20002/chrome/test/base/testing_profile.cc File chrome/test/base/testing_profile.cc (right): https://codereview.chromium.org/2004043002/diff/20002/chrome/test/base/testing_profile.cc#newcode425 chrome/test/base/testing_profile.cc:425: #if defined(ENABLE_SUPERVISED_USERS) On 2016/06/06 15:01:36, mamir wrote: > On ...
4 years, 6 months ago (2016-06-07 10:27:04 UTC) #11
mamir
rdevlin.cronin@chromium.org: Please review this CL and give me your feedback. Thank you. https://codereview.chromium.org/2004043002/diff/160001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc ...
4 years, 6 months ago (2016-06-07 17:00:07 UTC) #13
Marc Treib
Please add a CL description and bug number. https://codereview.chromium.org/2004043002/diff/180001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/180001/chrome/browser/supervised_user/supervised_user_service.cc#newcode285 chrome/browser/supervised_user/supervised_user_service.cc:285: approved_extensions_map_[extension_id] ...
4 years, 6 months ago (2016-06-08 12:08:25 UTC) #14
mamir
https://codereview.chromium.org/2004043002/diff/180001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/180001/chrome/browser/supervised_user/supervised_user_service.cc#newcode285 chrome/browser/supervised_user/supervised_user_service.cc:285: approved_extensions_map_[extension_id] = version; On 2016/06/08 12:08:24, Marc Treib wrote: ...
4 years, 6 months ago (2016-06-09 12:14:11 UTC) #16
Marc Treib
https://codereview.chromium.org/2004043002/diff/180001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/180001/chrome/browser/supervised_user/supervised_user_service.cc#newcode285 chrome/browser/supervised_user/supervised_user_service.cc:285: approved_extensions_map_[extension_id] = version; On 2016/06/09 12:14:10, mamir wrote: > ...
4 years, 6 months ago (2016-06-09 13:44:09 UTC) #17
mamir
https://codereview.chromium.org/2004043002/diff/180001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/180001/chrome/browser/supervised_user/supervised_user_service.cc#newcode285 chrome/browser/supervised_user/supervised_user_service.cc:285: approved_extensions_map_[extension_id] = version; On 2016/06/09 13:44:09, Marc Treib wrote: ...
4 years, 6 months ago (2016-06-09 14:04:40 UTC) #18
Marc Treib
https://codereview.chromium.org/2004043002/diff/240001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/240001/chrome/browser/supervised_user/supervised_user_service.cc#newcode296 chrome/browser/supervised_user/supervised_user_service.cc:296: service->EnableExtension(extension_id); Ah, so you remove the CUSTODIAN_APPROVAL_REQUIRED reason unconditionally, ...
4 years, 6 months ago (2016-06-09 15:47:36 UTC) #19
mamir
https://codereview.chromium.org/2004043002/diff/240001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/240001/chrome/browser/supervised_user/supervised_user_service.cc#newcode296 chrome/browser/supervised_user/supervised_user_service.cc:296: service->EnableExtension(extension_id); On 2016/06/09 15:47:36, Marc Treib wrote: > Ah, ...
4 years, 6 months ago (2016-06-09 15:58:36 UTC) #20
Devlin
Still catching up after being away for a couple days, and probably want to take ...
4 years, 6 months ago (2016-06-10 00:09:44 UTC) #21
mamir
Thank you very much Devlin for your useful feedback/comments. https://codereview.chromium.org/2004043002/diff/260001/chrome/browser/extensions/extension_service_sync_unittest.cc File chrome/browser/extensions/extension_service_sync_unittest.cc (right): https://codereview.chromium.org/2004043002/diff/260001/chrome/browser/extensions/extension_service_sync_unittest.cc#newcode1735 chrome/browser/extensions/extension_service_sync_unittest.cc:1735: ...
4 years, 6 months ago (2016-06-10 11:04:46 UTC) #22
Devlin
Mostly just nits https://codereview.chromium.org/2004043002/diff/280001/chrome/browser/extensions/extension_service_sync_unittest.cc File chrome/browser/extensions/extension_service_sync_unittest.cc (right): https://codereview.chromium.org/2004043002/diff/280001/chrome/browser/extensions/extension_service_sync_unittest.cc#newcode1777 chrome/browser/extensions/extension_service_sync_unittest.cc:1777: extensions::ExtensionPrefs* extension_prefs = no extensions:: prefix ...
4 years, 6 months ago (2016-06-13 15:37:23 UTC) #23
Devlin
Please also update your CL description: [Title] [Description] BUG=[bug] Each wrapped to 72 chars. I ...
4 years, 6 months ago (2016-06-13 15:38:15 UTC) #24
mamir
https://codereview.chromium.org/2004043002/diff/280001/chrome/browser/extensions/extension_service_sync_unittest.cc File chrome/browser/extensions/extension_service_sync_unittest.cc (right): https://codereview.chromium.org/2004043002/diff/280001/chrome/browser/extensions/extension_service_sync_unittest.cc#newcode1777 chrome/browser/extensions/extension_service_sync_unittest.cc:1777: extensions::ExtensionPrefs* extension_prefs = On 2016/06/13 15:37:22, Devlin wrote: > ...
4 years, 6 months ago (2016-06-13 17:06:26 UTC) #26
Marc Treib
https://codereview.chromium.org/2004043002/diff/300001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/300001/chrome/browser/supervised_user/supervised_user_service.cc#newcode53 chrome/browser/supervised_user/supervised_user_service.cc:53: #include "extensions/browser/extension_registry.h" This needs to go into the #ifdef ...
4 years, 6 months ago (2016-06-14 13:53:35 UTC) #27
Devlin
Apart from Marc's comments, I don't see anything here. But I'll take another look once ...
4 years, 6 months ago (2016-06-15 00:25:11 UTC) #28
mamir
https://codereview.chromium.org/2004043002/diff/300001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/300001/chrome/browser/supervised_user/supervised_user_service.cc#newcode53 chrome/browser/supervised_user/supervised_user_service.cc:53: #include "extensions/browser/extension_registry.h" On 2016/06/14 13:53:34, Marc Treib wrote: > ...
4 years, 6 months ago (2016-06-15 09:40:11 UTC) #29
Marc Treib
https://codereview.chromium.org/2004043002/diff/300001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/300001/chrome/browser/supervised_user/supervised_user_service.cc#newcode304 chrome/browser/supervised_user/supervised_user_service.cc:304: == Extension::DISABLE_NONE) { On 2016/06/15 09:40:11, mamir wrote: > ...
4 years, 6 months ago (2016-06-15 12:31:08 UTC) #30
mamir
https://codereview.chromium.org/2004043002/diff/300001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/300001/chrome/browser/supervised_user/supervised_user_service.cc#newcode304 chrome/browser/supervised_user/supervised_user_service.cc:304: == Extension::DISABLE_NONE) { On 2016/06/15 12:31:07, Marc Treib wrote: ...
4 years, 6 months ago (2016-06-15 17:30:03 UTC) #31
Marc Treib
https://codereview.chromium.org/2004043002/diff/320001/chrome/browser/extensions/extension_service_sync_unittest.cc File chrome/browser/extensions/extension_service_sync_unittest.cc (right): https://codereview.chromium.org/2004043002/diff/320001/chrome/browser/extensions/extension_service_sync_unittest.cc#newcode1640 chrome/browser/extensions/extension_service_sync_unittest.cc:1640: // extensions. It doesn't change the disable reasons. On ...
4 years, 6 months ago (2016-06-16 08:26:54 UTC) #32
mamir
https://codereview.chromium.org/2004043002/diff/320001/chrome/browser/extensions/extension_service_sync_unittest.cc File chrome/browser/extensions/extension_service_sync_unittest.cc (right): https://codereview.chromium.org/2004043002/diff/320001/chrome/browser/extensions/extension_service_sync_unittest.cc#newcode2111 chrome/browser/extensions/extension_service_sync_unittest.cc:2111: UpdateSUInitiatedInstallWithPermissionIncrease) { On 2016/06/16 08:26:54, Marc Treib wrote: > ...
4 years, 6 months ago (2016-06-17 15:03:18 UTC) #33
Marc Treib
https://codereview.chromium.org/2004043002/diff/360001/chrome/browser/extensions/extension_service_sync_unittest.cc File chrome/browser/extensions/extension_service_sync_unittest.cc (right): https://codereview.chromium.org/2004043002/diff/360001/chrome/browser/extensions/extension_service_sync_unittest.cc#newcode1644 chrome/browser/extensions/extension_service_sync_unittest.cc:1644: int creation_flags = 0; Ah, so this will now ...
4 years, 6 months ago (2016-06-17 16:55:13 UTC) #34
mamir
https://codereview.chromium.org/2004043002/diff/360001/chrome/browser/extensions/extension_service_sync_unittest.cc File chrome/browser/extensions/extension_service_sync_unittest.cc (right): https://codereview.chromium.org/2004043002/diff/360001/chrome/browser/extensions/extension_service_sync_unittest.cc#newcode1644 chrome/browser/extensions/extension_service_sync_unittest.cc:1644: int creation_flags = 0; On 2016/06/17 16:55:12, Marc Treib ...
4 years, 6 months ago (2016-06-19 12:40:14 UTC) #35
Marc Treib
https://codereview.chromium.org/2004043002/diff/360001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/360001/chrome/browser/supervised_user/supervised_user_service.cc#newcode302 chrome/browser/supervised_user/supervised_user_service.cc:302: if (state == ExtensionState::BLOCKED || On 2016/06/19 12:40:14, mamir ...
4 years, 6 months ago (2016-06-20 12:44:19 UTC) #36
mamir
https://codereview.chromium.org/2004043002/diff/360001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/360001/chrome/browser/supervised_user/supervised_user_service.cc#newcode302 chrome/browser/supervised_user/supervised_user_service.cc:302: if (state == ExtensionState::BLOCKED || On 2016/06/20 12:44:18, Marc ...
4 years, 6 months ago (2016-06-20 12:56:53 UTC) #37
Marc Treib
Looking good now! One last comment :) https://codereview.chromium.org/2004043002/diff/400001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/400001/chrome/browser/supervised_user/supervised_user_service.cc#newcode301 chrome/browser/supervised_user/supervised_user_service.cc:301: if (state ...
4 years, 6 months ago (2016-06-20 15:48:07 UTC) #38
mamir
https://codereview.chromium.org/2004043002/diff/400001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/400001/chrome/browser/supervised_user/supervised_user_service.cc#newcode301 chrome/browser/supervised_user/supervised_user_service.cc:301: if (state == ExtensionState::FORCED) On 2016/06/20 15:48:06, Marc Treib ...
4 years, 6 months ago (2016-06-20 15:56:55 UTC) #39
Devlin
https://codereview.chromium.org/2004043002/diff/420001/chrome/browser/extensions/extension_service_sync_unittest.cc File chrome/browser/extensions/extension_service_sync_unittest.cc (right): https://codereview.chromium.org/2004043002/diff/420001/chrome/browser/extensions/extension_service_sync_unittest.cc#newcode1620 chrome/browser/extensions/extension_service_sync_unittest.cc:1620: EXPECT_TRUE(registry()->disabled_extensions().Contains(extension->id())); nit: to be thorough, maybe also check disabled ...
4 years, 6 months ago (2016-06-20 17:32:29 UTC) #40
Marc Treib
lgtm
4 years, 6 months ago (2016-06-21 09:28:49 UTC) #41
mamir
https://codereview.chromium.org/2004043002/diff/420001/chrome/browser/extensions/extension_service_sync_unittest.cc File chrome/browser/extensions/extension_service_sync_unittest.cc (right): https://codereview.chromium.org/2004043002/diff/420001/chrome/browser/extensions/extension_service_sync_unittest.cc#newcode1620 chrome/browser/extensions/extension_service_sync_unittest.cc:1620: EXPECT_TRUE(registry()->disabled_extensions().Contains(extension->id())); On 2016/06/20 17:32:28, Devlin wrote: > nit: to ...
4 years, 6 months ago (2016-06-21 11:00:44 UTC) #42
mamir
phajdan.jr@chromium.org: Please review changes in chrome/test/base/testing_profile.cc chrome/test/base/testing_profile.h chrome/test/DEPS
4 years, 6 months ago (2016-06-21 15:28:40 UTC) #44
mamir
Hi holte@chromium.org Please, review changes in tools/metrics/histograms/histograms.xml
4 years, 6 months ago (2016-06-21 15:33:24 UTC) #46
Devlin
lgtm https://codereview.chromium.org/2004043002/diff/440001/chrome/browser/extensions/extension_service_sync_unittest.cc File chrome/browser/extensions/extension_service_sync_unittest.cc (right): https://codereview.chromium.org/2004043002/diff/440001/chrome/browser/extensions/extension_service_sync_unittest.cc#newcode1615 chrome/browser/extensions/extension_service_sync_unittest.cc:1615: const base::FilePath& base_path = data_dir().AppendASCII("autoupdate"); nit: these shouldn't ...
4 years, 6 months ago (2016-06-21 16:54:38 UTC) #47
Steven Holte
histograms lgtm
4 years, 6 months ago (2016-06-21 18:00:10 UTC) #48
mamir
Hi Marc and Devlin, Please, have a another look after rebasing to the other CL ...
4 years, 6 months ago (2016-06-23 11:43:20 UTC) #50
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2004043002/560001
4 years, 6 months ago (2016-06-23 13:22:20 UTC) #52
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/157416)
4 years, 6 months ago (2016-06-23 13:38:44 UTC) #54
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2004043002/570001
4 years, 6 months ago (2016-06-23 14:46:17 UTC) #56
Paweł Hajdan Jr.
chrome/test LGTM
4 years, 6 months ago (2016-06-23 14:50:21 UTC) #57
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/92590)
4 years, 6 months ago (2016-06-23 15:01:23 UTC) #59
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2004043002/590001
4 years, 6 months ago (2016-06-23 15:15:10 UTC) #61
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/86181)
4 years, 6 months ago (2016-06-23 15:31:50 UTC) #63
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2004043002/630001
4 years, 6 months ago (2016-06-24 10:11:57 UTC) #65
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/191127)
4 years, 6 months ago (2016-06-24 10:55:35 UTC) #67
Marc Treib
https://codereview.chromium.org/2004043002/diff/630001/chrome/browser/extensions/extension_util.cc File chrome/browser/extensions/extension_util.cc (right): https://codereview.chromium.org/2004043002/diff/630001/chrome/browser/extensions/extension_util.cc#newcode260 chrome/browser/extensions/extension_util.cc:260: service->EnableExtension(extension_id); ? I'm pretty sure we don't want to ...
4 years, 6 months ago (2016-06-24 10:58:55 UTC) #68
Marc Treib
https://codereview.chromium.org/2004043002/diff/560001/chrome/browser/extensions/extension_util.cc File chrome/browser/extensions/extension_util.cc (right): https://codereview.chromium.org/2004043002/diff/560001/chrome/browser/extensions/extension_util.cc#newcode239 chrome/browser/extensions/extension_util.cc:239: const Extension* extension = registry->GetInstalledExtension(extension_id); nit: Move getting registry ...
4 years, 6 months ago (2016-06-24 12:46:33 UTC) #69
mamir
https://codereview.chromium.org/2004043002/diff/560001/chrome/browser/extensions/extension_util.cc File chrome/browser/extensions/extension_util.cc (right): https://codereview.chromium.org/2004043002/diff/560001/chrome/browser/extensions/extension_util.cc#newcode239 chrome/browser/extensions/extension_util.cc:239: const Extension* extension = registry->GetInstalledExtension(extension_id); On 2016/06/24 12:46:33, Marc ...
4 years, 6 months ago (2016-06-24 14:43:07 UTC) #70
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2004043002/650001
4 years, 6 months ago (2016-06-24 14:43:54 UTC) #72
Marc Treib
https://codereview.chromium.org/2004043002/diff/560001/chrome/browser/extensions/extension_util.cc File chrome/browser/extensions/extension_util.cc (right): https://codereview.chromium.org/2004043002/diff/560001/chrome/browser/extensions/extension_util.cc#newcode260 chrome/browser/extensions/extension_util.cc:260: service->EnableExtension(extension_id); On 2016/06/24 14:43:07, mamir wrote: > On 2016/06/24 ...
4 years, 6 months ago (2016-06-24 15:00:59 UTC) #73
Marc Treib
https://codereview.chromium.org/2004043002/diff/650001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/650001/chrome/browser/supervised_user/supervised_user_service.cc#newcode1158 chrome/browser/supervised_user/supervised_user_service.cc:1158: for (auto imap : approved_extensions_map_) nit: what's "imap"? Also, ...
4 years, 6 months ago (2016-06-24 15:04:05 UTC) #74
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/191256)
4 years, 6 months ago (2016-06-24 15:46:16 UTC) #76
Devlin
https://codereview.chromium.org/2004043002/diff/560001/chrome/browser/extensions/extension_util.cc File chrome/browser/extensions/extension_util.cc (right): https://codereview.chromium.org/2004043002/diff/560001/chrome/browser/extensions/extension_util.cc#newcode260 chrome/browser/extensions/extension_util.cc:260: service->EnableExtension(extension_id); On 2016/06/24 15:00:59, Marc Treib wrote: > On ...
4 years, 6 months ago (2016-06-24 16:09:40 UTC) #77
mamir
https://codereview.chromium.org/2004043002/diff/650001/chrome/browser/extensions/extension_service_sync_unittest.cc File chrome/browser/extensions/extension_service_sync_unittest.cc (right): https://codereview.chromium.org/2004043002/diff/650001/chrome/browser/extensions/extension_service_sync_unittest.cc#newcode1644 chrome/browser/extensions/extension_service_sync_unittest.cc:1644: const base::Version version("1"); On 2016/06/24 16:09:40, Devlin wrote: > ...
4 years, 5 months ago (2016-06-27 11:48:54 UTC) #78
Marc Treib
https://codereview.chromium.org/2004043002/diff/650001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/650001/chrome/browser/supervised_user/supervised_user_service.cc#newcode1158 chrome/browser/supervised_user/supervised_user_service.cc:1158: for (auto imap : approved_extensions_map_) On 2016/06/27 11:48:54, mamir ...
4 years, 5 months ago (2016-06-27 11:56:35 UTC) #79
mamir
https://codereview.chromium.org/2004043002/diff/560001/chrome/browser/extensions/extension_util.cc File chrome/browser/extensions/extension_util.cc (right): https://codereview.chromium.org/2004043002/diff/560001/chrome/browser/extensions/extension_util.cc#newcode260 chrome/browser/extensions/extension_util.cc:260: service->EnableExtension(extension_id); On 2016/06/24 16:09:39, Devlin wrote: > On 2016/06/24 ...
4 years, 5 months ago (2016-06-27 14:26:59 UTC) #80
Marc Treib
LGTM with some more nits! https://codereview.chromium.org/2004043002/diff/710001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/710001/chrome/browser/supervised_user/supervised_user_service.cc#newcode1081 chrome/browser/supervised_user/supervised_user_service.cc:1081: // Only extensions that ...
4 years, 5 months ago (2016-06-27 14:32:59 UTC) #81
mamir
https://codereview.chromium.org/2004043002/diff/710001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/710001/chrome/browser/supervised_user/supervised_user_service.cc#newcode1081 chrome/browser/supervised_user/supervised_user_service.cc:1081: // Only extensions that requires approval should be disabled. ...
4 years, 5 months ago (2016-06-27 14:58:14 UTC) #82
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2004043002/730001
4 years, 5 months ago (2016-06-27 14:58:56 UTC) #84
Marc Treib
https://codereview.chromium.org/2004043002/diff/710001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/2004043002/diff/710001/chrome/browser/supervised_user/supervised_user_service.cc#newcode1082 chrome/browser/supervised_user/supervised_user_service.cc:1082: // Blocked extensions should be loaded all together, and ...
4 years, 5 months ago (2016-06-27 15:05:46 UTC) #85
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/192133)
4 years, 5 months ago (2016-06-27 15:42:38 UTC) #87
Devlin
lgtm once all Marc's comments are addressed.
4 years, 5 months ago (2016-06-27 15:43:38 UTC) #88
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/2004043002/770001
4 years, 5 months ago (2016-06-27 23:09:28 UTC) #91
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/208057)
4 years, 5 months ago (2016-06-27 23:20:50 UTC) #93
mamir
Hi Pavel, I need your LGTM because I added a sync dependency to chrome/test/DEPS. Thank ...
4 years, 5 months ago (2016-06-28 08:45:24 UTC) #95
Paweł Hajdan Jr.
chrome/test LGTM
4 years, 5 months ago (2016-06-28 13:52:35 UTC) #96
pavely
chrome/test/DEPS lgtm
4 years, 5 months ago (2016-06-28 18:35:32 UTC) #97
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/2004043002/770001
4 years, 5 months ago (2016-06-28 18:56:54 UTC) #99
commit-bot: I haz the power
Committed patchset #40 (id:770001)
4 years, 5 months ago (2016-06-28 22:18:12 UTC) #101
commit-bot: I haz the power
4 years, 5 months ago (2016-06-28 22:20:04 UTC) #103
Message was sent while issue was closed.
Patchset 40 (id:??) landed as
https://crrev.com/e960964b7ea2caff5289d4a2f40488af7613389d
Cr-Commit-Position: refs/heads/master@{#402570}

Powered by Google App Engine
This is Rietveld 408576698