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

Issue 2850793005: Remove command line/field trial support and configs for Isolate Extensions. (Closed)

Created:
3 years, 7 months ago by nasko
Modified:
3 years, 7 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, site-isolation-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove command line/field trial support for disabling Isolate Extensions. The Isolate Extensions project/feature shipped on by default in M56. This CL removes the support for disabling Isolate Extensions, which includes field trial config, supporting code, command line parameter, and tests that are no longer relevant. BUG=545200 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2850793005 Cr-Commit-Position: refs/heads/master@{#468898} Committed: https://chromium.googlesource.com/chromium/src/+/abed2a56f122e7d6ca95e37a42c0c14b73a85a35

Patch Set 1 #

Patch Set 2 : Remove SiteIsolationExtensions instances #

Patch Set 3 : Fix incorrect test expectations in site_details_browsertest.cc #

Patch Set 4 : Remove more cases of "isolate.*extension" #

Total comments: 14

Patch Set 5 : Addressed review comments by nick@. #

Patch Set 6 : Undo most site_details* changes. #

Patch Set 7 : Rebase. #

Total comments: 6

Patch Set 8 : Remove unused headers from extension_process_policy.h #

Total comments: 6

Patch Set 9 : Remove unused includes. #

Patch Set 10 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -449 lines) Patch
M chrome/browser/browser_process_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -13 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chrome_security_exploit_browsertest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -19 lines 0 comments Download
M chrome/browser/extensions/api/extension_action/browser_action_apitest.cc View 1 2 3 4 5 6 2 chunks +6 lines, -25 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_apitest.cc View 1 2 3 4 5 6 1 chunk +3 lines, -10 lines 0 comments Download
M chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc View 1 2 3 4 2 chunks +19 lines, -23 lines 0 comments Download
M chrome/browser/extensions/chrome_extension_web_contents_observer.h View 1 2 3 4 5 6 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/extensions/chrome_extension_web_contents_observer.cc View 2 chunks +0 lines, -76 lines 0 comments Download
M chrome/browser/extensions/extension_apitest.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_resource_request_policy_apitest.cc View 1 2 3 4 5 6 1 chunk +3 lines, -6 lines 0 comments Download
M chrome/browser/extensions/lazy_background_page_apitest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -27 lines 0 comments Download
M chrome/browser/extensions/process_management_browsertest.cc View 1 2 3 4 5 6 2 chunks +5 lines, -16 lines 0 comments Download
M chrome/browser/extensions/process_manager_browsertest.cc View 1 2 3 4 5 6 11 chunks +43 lines, -68 lines 0 comments Download
M chrome/browser/site_details_browsertest.cc View 1 2 3 4 5 6 chunks +4 lines, -81 lines 0 comments Download
M chrome/common/chrome_content_client.cc View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -2 lines 0 comments Download
M chrome/common/extensions/extension_process_policy.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/common/extensions/extension_process_policy.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -18 lines 0 comments Download
M chrome/renderer/extensions/chrome_extensions_renderer_client.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/data/extensions/api_test/content_scripts/extension_iframe/iframe.js View 2 chunks +5 lines, -12 lines 0 comments Download
M chrome/test/data/extensions/api_test/webnavigation/crossProcessFragment/test_crossProcessFragment.js View 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/test/data/extensions/api_test/webnavigation/crossProcessHistory/test_crossProcessHistory.js View 3 chunks +3 lines, -4 lines 0 comments Download
M content/browser/frame_host/frame_tree_browsertest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_apitest.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M extensions/common/api/test.json View 1 chunk +0 lines, -4 lines 0 comments Download
M extensions/common/switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M extensions/common/switches.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M testing/variations/fieldtrial_testing_config.json View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -15 lines 0 comments Download

Messages

Total messages: 54 (34 generated)
nasko
Hey Nick, Can you review this CL for me? It removes "Isolate Extensions" as a ...
3 years, 7 months ago (2017-05-01 16:26:24 UTC) #20
ncarter (slow)
https://codereview.chromium.org/2850793005/diff/80001/chrome/browser/extensions/api/extension_action/browser_action_apitest.cc File chrome/browser/extensions/api/extension_action/browser_action_apitest.cc (right): https://codereview.chromium.org/2850793005/diff/80001/chrome/browser/extensions/api/extension_action/browser_action_apitest.cc#newcode735 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc:735: // the iframe runs in a separate process. See ...
3 years, 7 months ago (2017-05-01 20:15:19 UTC) #23
nasko
https://codereview.chromium.org/2850793005/diff/80001/chrome/browser/extensions/api/extension_action/browser_action_apitest.cc File chrome/browser/extensions/api/extension_action/browser_action_apitest.cc (right): https://codereview.chromium.org/2850793005/diff/80001/chrome/browser/extensions/api/extension_action/browser_action_apitest.cc#newcode735 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc:735: // the iframe runs in a separate process. See ...
3 years, 7 months ago (2017-05-01 21:25:37 UTC) #24
ncarter (slow)
https://codereview.chromium.org/2850793005/diff/80001/chrome/browser/site_details.cc File chrome/browser/site_details.cc (left): https://codereview.chromium.org/2850793005/diff/80001/chrome/browser/site_details.cc#oldcode43 chrome/browser/site_details.cc:43: case ISOLATE_EXTENSIONS: { On 2017/05/01 21:25:37, nasko wrote: > ...
3 years, 7 months ago (2017-05-01 21:37:44 UTC) #25
nasko
Per offline discussion, removing most of the changes in site_details* files, as computed metrics aren't ...
3 years, 7 months ago (2017-05-01 22:12:43 UTC) #26
ncarter (slow)
lgtm
3 years, 7 months ago (2017-05-01 22:19:50 UTC) #27
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/2850793005/120001
3 years, 7 months ago (2017-05-01 22:26:41 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/283493) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 7 months ago (2017-05-01 22:31:34 UTC) #31
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/2850793005/140001
3 years, 7 months ago (2017-05-02 00:33:44 UTC) #34
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/424904)
3 years, 7 months ago (2017-05-02 00:44:14 UTC) #36
nasko
Hello, would you mind doing an OWNERS review for me? It is mostly code removal. ...
3 years, 7 months ago (2017-05-02 01:02:27 UTC) #38
Devlin
Yay! extensions lgtm https://codereview.chromium.org/2850793005/diff/140001/chrome/common/extensions/extension_process_policy.cc File chrome/common/extensions/extension_process_policy.cc (right): https://codereview.chromium.org/2850793005/diff/140001/chrome/common/extensions/extension_process_policy.cc#newcode7 chrome/common/extensions/extension_process_policy.cc:7: #include "base/command_line.h" This is no longer ...
3 years, 7 months ago (2017-05-02 15:20:54 UTC) #39
nasko
https://codereview.chromium.org/2850793005/diff/140001/chrome/common/extensions/extension_process_policy.cc File chrome/common/extensions/extension_process_policy.cc (right): https://codereview.chromium.org/2850793005/diff/140001/chrome/common/extensions/extension_process_policy.cc#newcode7 chrome/common/extensions/extension_process_policy.cc:7: #include "base/command_line.h" On 2017/05/02 15:20:54, Devlin wrote: > This ...
3 years, 7 months ago (2017-05-02 15:50:06 UTC) #40
Ilya Sherman
testing/variations/fieldtrial_testing_config.json lgtm
3 years, 7 months ago (2017-05-02 21:15:18 UTC) #41
Lei Zhang
lgtm https://codereview.chromium.org/2850793005/diff/160001/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): https://codereview.chromium.org/2850793005/diff/160001/chrome/browser/browser_process_impl.cc#newcode24 chrome/browser/browser_process_impl.cc:24: #include "base/metrics/field_trial.h" Not used? https://codereview.chromium.org/2850793005/diff/160001/chrome/browser/chrome_security_exploit_browsertest.cc File chrome/browser/chrome_security_exploit_browsertest.cc (right): ...
3 years, 7 months ago (2017-05-02 21:32:01 UTC) #42
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/2850793005/180001
3 years, 7 months ago (2017-05-03 03:51:08 UTC) #45
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/426021) linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 7 months ago (2017-05-03 03:54:41 UTC) #47
nasko
https://codereview.chromium.org/2850793005/diff/160001/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): https://codereview.chromium.org/2850793005/diff/160001/chrome/browser/browser_process_impl.cc#newcode24 chrome/browser/browser_process_impl.cc:24: #include "base/metrics/field_trial.h" On 2017/05/02 21:32:00, Lei Zhang wrote: > ...
3 years, 7 months ago (2017-05-03 04:04:19 UTC) #48
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/2850793005/200001
3 years, 7 months ago (2017-05-03 04:09:39 UTC) #51
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 05:11:17 UTC) #54
Message was sent while issue was closed.
Committed patchset #10 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/abed2a56f122e7d6ca95e37a42c0...

Powered by Google App Engine
This is Rietveld 408576698