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

Issue 2166513002: Create --disable-extensions-except switch (Closed)

Created:
4 years, 5 months ago by catmullings
Modified:
4 years, 3 months ago
Reviewers:
Devlin
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

Create --disable-extensions-except switch In response to users/developers using --disable-extensions to disable all extensions except the ones loaded as components, --load-component-extension. Create a --disable-extensions-except switch, which disables all extensions that are not specified, but treats the listed extensions as normal extensions. BUG=615096 Committed: https://crrev.com/98cd194e53387ee58c845bba224d8999aedb884e Cr-Commit-Position: refs/heads/master@{#415462}

Patch Set 1 #

Patch Set 2 : Added test #

Total comments: 24

Patch Set 3 : Addressed Patch 2 Code Review #

Total comments: 12

Patch Set 4 : Addressed Patch 3 code review; passes test #

Patch Set 5 : Patch 4 merged & updated with master; Minor changes as well #

Patch Set 6 : Adjusted path to test extensions s.t. fixes trybot failings #

Total comments: 8

Patch Set 7 : Addressed patch 6 code review comments #

Patch Set 8 : Fixed ExtensionServiceTest.ExternalUninstall test failing #

Total comments: 3

Patch Set 9 : Addressed code review patch 8 #

Patch Set 10 : Comment added to address code review commen in patch 6 #

Total comments: 6

Patch Set 11 : Addressed patch 10 code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -63 lines) Patch
M chrome/browser/extensions/chrome_extensions_browser_client.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +28 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_startup_browsertest.cc View 1 2 3 4 5 6 11 chunks +80 lines, -38 lines 0 comments Download
M chrome/browser/extensions/extension_system_impl.cc View 1 2 3 4 1 chunk +0 lines, -19 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (28 generated)
catmullings
Initial patch without any tests. No need to formally review the patch.
4 years, 5 months ago (2016-07-19 17:37:31 UTC) #1
catmullings
Initial patch without any tests. No need to formally review the patch.
4 years, 5 months ago (2016-07-19 17:38:08 UTC) #3
catmullings
Test added.
4 years, 5 months ago (2016-07-25 18:46:34 UTC) #4
Devlin
Looking pretty good! https://codereview.chromium.org/2166513002/diff/20001/chrome/browser/extensions/extension_service.h File chrome/browser/extensions/extension_service.h (right): https://codereview.chromium.org/2166513002/diff/20001/chrome/browser/extensions/extension_service.h#newcode628 chrome/browser/extensions/extension_service.h:628: std::set<std::string> whitelist_; Whitelisted for what? https://codereview.chromium.org/2166513002/diff/20001/chrome/browser/extensions/extension_startup_browsertest.cc ...
4 years, 5 months ago (2016-07-25 19:10:30 UTC) #5
catmullings
Addressed patch 2 code review comments https://codereview.chromium.org/2166513002/diff/20001/chrome/browser/extensions/extension_service.h File chrome/browser/extensions/extension_service.h (right): https://codereview.chromium.org/2166513002/diff/20001/chrome/browser/extensions/extension_service.h#newcode628 chrome/browser/extensions/extension_service.h:628: std::set<std::string> whitelist_; On ...
4 years, 4 months ago (2016-07-27 01:29:46 UTC) #12
Devlin
https://codereview.chromium.org/2166513002/diff/20001/chrome/browser/extensions/extension_service.h File chrome/browser/extensions/extension_service.h (right): https://codereview.chromium.org/2166513002/diff/20001/chrome/browser/extensions/extension_service.h#newcode628 chrome/browser/extensions/extension_service.h:628: std::set<std::string> whitelist_; On 2016/07/27 01:29:45, catmullings wrote: > On ...
4 years, 4 months ago (2016-07-27 17:01:00 UTC) #15
catmullings
Addressed patch 3 code review. Running trybots on this patch to see if it fixed ...
4 years, 4 months ago (2016-08-04 22:59:31 UTC) #18
Devlin
A few more comments, in addition to the tests that seem to be failing. https://codereview.chromium.org/2166513002/diff/100001/chrome/browser/extensions/extension_service.cc ...
4 years, 4 months ago (2016-08-10 19:22:31 UTC) #29
catmullings
Addressed patch 6 code review and fixed ExtensionServiceTest.ExternalUninstall test failing. https://codereview.chromium.org/2166513002/diff/100001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/2166513002/diff/100001/chrome/browser/extensions/extension_service.cc#newcode433 ...
4 years, 3 months ago (2016-08-29 20:42:27 UTC) #32
Devlin
Nice! I'll wait for the trybot run before fully stamping, but this looks pretty good. ...
4 years, 3 months ago (2016-08-29 20:53:40 UTC) #33
catmullings
Addressed code review, particularly a code review comment made in patch 6. https://codereview.chromium.org/2166513002/diff/160001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc ...
4 years, 3 months ago (2016-08-29 22:28:01 UTC) #35
Devlin
lgtm with a few more nits https://codereview.chromium.org/2166513002/diff/200001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/2166513002/diff/200001/chrome/browser/extensions/extension_service.cc#newcode421 chrome/browser/extensions/extension_service.cc:421: void ExtensionService::LoadExtensionsFromCommandLineFlag( nit: ...
4 years, 3 months ago (2016-08-30 14:15:39 UTC) #36
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/2166513002/220001
4 years, 3 months ago (2016-08-30 21:38:17 UTC) #40
commit-bot: I haz the power
Committed patchset #11 (id:220001)
4 years, 3 months ago (2016-08-30 22:32:20 UTC) #41
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 22:34:08 UTC) #43
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/98cd194e53387ee58c845bba224d8999aedb884e
Cr-Commit-Position: refs/heads/master@{#415462}

Powered by Google App Engine
This is Rietveld 408576698