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

Issue 874683005: [Extensions] Enable the scripts-require-action feature based on all-urls pref (Closed)

Created:
5 years, 10 months ago by Devlin
Modified:
5 years, 10 months ago
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

[Extensions] Enable the scripts-require-action feature based on all-urls pref The scripts-require-action feature should affect all extensions that don't have the "can run on all urls" preference. When an extension is installed, it should have the "all urls" flag by default if the switch is off. This is necessary in order to allow syncing the all urls flag. BUG=454832 Committed: https://crrev.com/b8dffe56ae37e7429ca21be254480f01034cac21 Cr-Commit-Position: refs/heads/master@{#315153}

Patch Set 1 : #

Total comments: 18

Patch Set 2 : Kalman's #

Patch Set 3 : Updated metrics #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -139 lines) Patch
M chrome/browser/extensions/active_script_controller.h View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/extensions/active_script_controller.cc View 1 2 7 chunks +11 lines, -32 lines 0 comments Download
M chrome/browser/extensions/crx_installer_browsertest.cc View 1 chunk +0 lines, -38 lines 0 comments Download
M chrome/browser/extensions/extension_ui_unittest.cc View 1 3 chunks +24 lines, -11 lines 0 comments Download
M chrome/browser/extensions/extension_util.h View 1 3 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_util.cc View 1 2 chunks +55 lines, -30 lines 0 comments Download
M chrome/browser/extensions/permissions_updater.cc View 1 1 chunk +8 lines, -8 lines 0 comments Download
M chrome/browser/extensions/permissions_updater_unittest.cc View 7 chunks +78 lines, -5 lines 0 comments Download
M chrome/browser/resources/extensions/extension_list.js View 1 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.cc View 1 1 chunk +8 lines, -7 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
Devlin
5 years, 10 months ago (2015-02-05 19:57:39 UTC) #6
not at google - send to devlin
Ok, lgtm with some nits. https://codereview.chromium.org/874683005/diff/80001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/874683005/diff/80001/chrome/browser/extensions/active_script_controller.cc#newcode287 chrome/browser/extensions/active_script_controller.cc:287: UMA_HISTOGRAM_COUNTS_100( As discussed, this ...
5 years, 10 months ago (2015-02-06 00:26:56 UTC) #7
Devlin
Couple questions on UMA. https://codereview.chromium.org/874683005/diff/80001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/874683005/diff/80001/chrome/browser/extensions/active_script_controller.cc#newcode287 chrome/browser/extensions/active_script_controller.cc:287: UMA_HISTOGRAM_COUNTS_100( On 2015/02/06 00:26:55, kalman ...
5 years, 10 months ago (2015-02-06 18:58:43 UTC) #9
not at google - send to devlin
still lgtm https://codereview.chromium.org/874683005/diff/80001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/874683005/diff/80001/chrome/browser/extensions/active_script_controller.cc#newcode287 chrome/browser/extensions/active_script_controller.cc:287: UMA_HISTOGRAM_COUNTS_100( On 2015/02/06 18:58:43, Devlin wrote: > ...
5 years, 10 months ago (2015-02-06 19:38:44 UTC) #10
Devlin
https://codereview.chromium.org/874683005/diff/80001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/874683005/diff/80001/chrome/browser/extensions/active_script_controller.cc#newcode287 chrome/browser/extensions/active_script_controller.cc:287: UMA_HISTOGRAM_COUNTS_100( On 2015/02/06 19:38:43, kalman wrote: > On 2015/02/06 ...
5 years, 10 months ago (2015-02-06 23:18:49 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/874683005/120001
5 years, 10 months ago (2015-02-06 23:19:34 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:120001)
5 years, 10 months ago (2015-02-07 00:58:10 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-07 00:58:35 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b8dffe56ae37e7429ca21be254480f01034cac21
Cr-Commit-Position: refs/heads/master@{#315153}

Powered by Google App Engine
This is Rietveld 408576698