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

Issue 396033002: Support "always allow" for runtime script execution (Closed)

Created:
6 years, 5 months ago by gpdavis
Modified:
6 years, 4 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Support "always allow" for runtime script execution BUG=391922 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290039

Patch Set 1 #

Total comments: 12

Patch Set 2 : Moved logic to active script controller #

Patch Set 3 : Test attempt #

Total comments: 2

Patch Set 4 : Added host permissions to explicit hosts #

Patch Set 5 : Discriminate between explicit and scriptable hosts, other minor changes #

Total comments: 29

Patch Set 6 : Minor logic changes, added UMA #

Patch Set 7 : Replaced persisted permissions with granted permissions #

Total comments: 21

Patch Set 8 : Minor changes #

Patch Set 9 : Set up for pattern set union changes #

Patch Set 10 : Added "MatchesSingleOrigin" #

Total comments: 2

Patch Set 11 : Histogram updates #

Total comments: 23

Patch Set 12 : Refactoring, minor changes #

Total comments: 35

Patch Set 13 : Cleanup extravaganza #

Total comments: 6

Patch Set 14 : Removed UMA, minor changes #

Total comments: 2

Patch Set 15 : Moar tests #

Patch Set 16 : Formatting #

Total comments: 30

Patch Set 17 : Fixed major issues #

Total comments: 8

Patch Set 18 : Origin function changes #

Patch Set 19 : ReloadExtension in unittest #

Total comments: 28

Patch Set 20 : Minor changes #

Patch Set 21 : String param reference #

Total comments: 16

Patch Set 22 : Test changes #

Total comments: 3

Patch Set 23 : S'more changes #

Total comments: 12

Patch Set 24 : Final fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -31 lines) Patch
M chrome/app/generated_resources.grd View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/active_script_controller.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 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/extensions/active_script_controller.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 3 chunks +41 lines, -0 lines 0 comments Download
M chrome/browser/extensions/active_script_controller_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 4 chunks +83 lines, -17 lines 0 comments Download
M chrome/browser/extensions/active_tab_permission_granter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/browser/extensions/extension_context_menu_model.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_context_menu_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 5 chunks +26 lines, -2 lines 0 comments Download
M chrome/browser/extensions/permissions_updater.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +41 lines, -5 lines 0 comments Download
M extensions/common/url_pattern.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +4 lines, -0 lines 0 comments Download
M extensions/common/url_pattern.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +6 lines, -0 lines 0 comments Download
M extensions/common/url_pattern_set.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/common/url_pattern_set.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +12 lines, -0 lines 0 comments Download
M extensions/common/url_pattern_set_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 1 chunk +18 lines, -0 lines 0 comments Download
M extensions/common/url_pattern_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 81 (0 generated)
gpdavis
Kalman, Here's my attempt at that script injection feature request. I've tested it, and the ...
6 years, 5 months ago (2014-07-15 21:56:38 UTC) #1
not at google - send to devlin
+devlin, let's see who gets to this first. I'm almost done with my backlog of ...
6 years, 5 months ago (2014-07-15 21:57:37 UTC) #2
Devlin
This is a pretty good start. Only big comment is moving the logic to ActiveScriptController ...
6 years, 5 months ago (2014-07-15 22:11:01 UTC) #3
gpdavis
I went ahead and made an attempt at writing a unit test, but I'm running ...
6 years, 5 months ago (2014-07-21 20:25:41 UTC) #4
Devlin
On 2014/07/21 20:25:41, gpdavis wrote: > I went ahead and made an attempt at writing ...
6 years, 5 months ago (2014-07-24 22:06:42 UTC) #5
gpdavis
On 2014/07/24 22:06:42, Devlin wrote: > My guess: It's because you're adding the permission to ...
6 years, 4 months ago (2014-07-30 18:38:33 UTC) #6
Devlin
On 2014/07/30 18:38:33, gpdavis wrote: > Is there any reason I might not want to ...
6 years, 4 months ago (2014-07-30 21:34:32 UTC) #7
not at google - send to devlin
On 2014/07/30 21:34:32, Devlin wrote: > On 2014/07/30 18:38:33, gpdavis wrote: > > Is there ...
6 years, 4 months ago (2014-07-30 22:01:00 UTC) #8
gpdavis
On 2014/07/30 22:01:00, kalman wrote: > On 2014/07/30 21:34:32, Devlin wrote: > > On 2014/07/30 ...
6 years, 4 months ago (2014-07-31 21:27:41 UTC) #9
not at google - send to devlin
On 2014/07/31 21:27:41, gpdavis wrote: > On 2014/07/30 22:01:00, kalman wrote: > > On 2014/07/30 ...
6 years, 4 months ago (2014-07-31 21:33:01 UTC) #10
not at google - send to devlin
+sashab as an FYI, see previous comment.
6 years, 4 months ago (2014-07-31 21:33:20 UTC) #11
sashab
On 2014/07/31 21:33:20, kalman wrote: > +sashab as an FYI, see previous comment. Thanks. Yes, ...
6 years, 4 months ago (2014-08-01 00:50:05 UTC) #12
gpdavis
On 2014/08/01 00:50:05, sasha_b wrote: > On 2014/07/31 21:33:20, kalman wrote: > > +sashab as ...
6 years, 4 months ago (2014-08-01 01:16:26 UTC) #13
not at google - send to devlin
I was going to let Devlin finish this off but he's OOO tomorrow. I'll have ...
6 years, 4 months ago (2014-08-01 01:22:13 UTC) #14
not at google - send to devlin
https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc#newcode111 chrome/browser/extensions/active_script_controller.cc:111: OnClicked(extension); it might be safer to do this at ...
6 years, 4 months ago (2014-08-01 18:15:12 UTC) #15
gpdavis
https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc#newcode111 chrome/browser/extensions/active_script_controller.cc:111: OnClicked(extension); On 2014/08/01 18:15:12, kalman wrote: > it might ...
6 years, 4 months ago (2014-08-01 20:06:07 UTC) #16
Devlin
So we don't have too many reviewers at once on this one, kalman@'s primary on ...
6 years, 4 months ago (2014-08-04 23:35:25 UTC) #17
Devlin
So we don't have too many reviewers at once on this one, kalman@'s primary on ...
6 years, 4 months ago (2014-08-04 23:35:25 UTC) #18
not at google - send to devlin
https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc#newcode139 chrome/browser/extensions/active_script_controller.cc:139: On 2014/08/01 20:06:06, gpdavis wrote: > On 2014/08/01 18:15:11, ...
6 years, 4 months ago (2014-08-04 23:53:13 UTC) #19
gpdavis
https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc#newcode139 chrome/browser/extensions/active_script_controller.cc:139: On 2014/08/04 23:53:13, kalman wrote: > On 2014/08/01 20:06:06, ...
6 years, 4 months ago (2014-08-07 20:50:40 UTC) #20
not at google - send to devlin
https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc#newcode140 chrome/browser/extensions/active_script_controller.cc:140: // Update persisted permissions for extension. > Ahh, I ...
6 years, 4 months ago (2014-08-07 22:03:46 UTC) #21
gpdavis
https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc#newcode140 chrome/browser/extensions/active_script_controller.cc:140: // Update persisted permissions for extension. On 2014/08/07 22:03:45, ...
6 years, 4 months ago (2014-08-07 23:23:36 UTC) #22
not at google - send to devlin
https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc#newcode140 chrome/browser/extensions/active_script_controller.cc:140: // Update persisted permissions for extension. > The host ...
6 years, 4 months ago (2014-08-08 00:24:29 UTC) #23
gpdavis
https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc#newcode140 chrome/browser/extensions/active_script_controller.cc:140: // Update persisted permissions for extension. On 2014/08/08 00:24:29, ...
6 years, 4 months ago (2014-08-08 00:51:44 UTC) #24
not at google - send to devlin
+rpaquay - need https://codereview.chromium.org/181043006/ for this to work. https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/110001/chrome/browser/extensions/active_script_controller.cc#newcode139 chrome/browser/extensions/active_script_controller.cc:139: On ...
6 years, 4 months ago (2014-08-08 14:31:28 UTC) #25
gpdavis
So this last patchset will pass all tests if I add an early return in ...
6 years, 4 months ago (2014-08-08 18:07:35 UTC) #26
gpdavis
isherman@chromium.org: Please review minor changes in tools/metrics/histograms/histograms.xml Thanks!
6 years, 4 months ago (2014-08-08 18:10:28 UTC) #27
not at google - send to devlin
> > Ah! That does make a lot of sense. I wonder why that patch ...
6 years, 4 months ago (2014-08-08 20:08:20 UTC) #28
not at google - send to devlin
On 2014/08/08 20:08:20, kalman wrote: > > > > Ah! That does make a lot ...
6 years, 4 months ago (2014-08-08 22:16:00 UTC) #29
gpdavis
How's this look? Do you have any suggestions for further testing for MatchesSingleOrigin?
6 years, 4 months ago (2014-08-11 21:15:18 UTC) #30
Ilya Sherman
https://codereview.chromium.org/396033002/diff/230001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/396033002/diff/230001/tools/metrics/histograms/histograms.xml#newcode6959 tools/metrics/histograms/histograms.xml:6959: + The number of pages the user has allowed ...
6 years, 4 months ago (2014-08-11 21:33:22 UTC) #31
gpdavis
https://codereview.chromium.org/396033002/diff/250001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/396033002/diff/250001/tools/metrics/histograms/histograms.xml#newcode6961 tools/metrics/histograms/histograms.xml:6961: + context menu of a script injection request. Hopefully ...
6 years, 4 months ago (2014-08-11 21:42:00 UTC) #32
not at google - send to devlin
More chances for code cleanup, hooray. https://codereview.chromium.org/396033002/diff/250001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/250001/chrome/browser/extensions/active_script_controller.cc#newcode114 chrome/browser/extensions/active_script_controller.cc:114: pattern.SetPath("/*"); I think ...
6 years, 4 months ago (2014-08-11 22:59:30 UTC) #33
Ilya Sherman
https://codereview.chromium.org/396033002/diff/250001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/396033002/diff/250001/tools/metrics/histograms/histograms.xml#newcode6959 tools/metrics/histograms/histograms.xml:6959: + The number of times the user has given ...
6 years, 4 months ago (2014-08-12 00:02:11 UTC) #34
gpdavis
kalman, can I also get your input on isherman@'s histogram feedback? https://codereview.chromium.org/396033002/diff/250001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): ...
6 years, 4 months ago (2014-08-12 00:52:06 UTC) #35
not at google - send to devlin
Ok, I think we're basically done here. Pull the UMA out into a follow-up and ...
6 years, 4 months ago (2014-08-12 19:49:27 UTC) #36
Ilya Sherman
https://codereview.chromium.org/396033002/diff/250001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/396033002/diff/250001/tools/metrics/histograms/histograms.xml#newcode6959 tools/metrics/histograms/histograms.xml:6959: + The number of times the user has given ...
6 years, 4 months ago (2014-08-12 20:00:29 UTC) #37
not at google - send to devlin
> > Keep in mind that if you're interested in knowing how many sites users ...
6 years, 4 months ago (2014-08-12 20:02:10 UTC) #38
gpdavis
https://codereview.chromium.org/396033002/diff/270001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/270001/chrome/browser/extensions/active_script_controller.cc#newcode117 chrome/browser/extensions/active_script_controller.cc:117: extensions::UserScript::ValidUserScriptSchemes(), url.GetOrigin()); On 2014/08/12 19:49:27, kalman wrote: > don't ...
6 years, 4 months ago (2014-08-12 21:19:56 UTC) #39
not at google - send to devlin
https://codereview.chromium.org/396033002/diff/270001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/270001/chrome/browser/extensions/active_script_controller.cc#newcode257 chrome/browser/extensions/active_script_controller.cc:257: permitted_extensions_.insert(extension->id()); On 2014/08/12 21:19:54, gpdavis wrote: > On 2014/08/12 ...
6 years, 4 months ago (2014-08-12 23:13:18 UTC) #40
gpdavis
https://codereview.chromium.org/396033002/diff/270001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/270001/chrome/browser/extensions/active_script_controller.cc#newcode257 chrome/browser/extensions/active_script_controller.cc:257: permitted_extensions_.insert(extension->id()); On 2014/08/12 23:13:17, kalman wrote: > On 2014/08/12 ...
6 years, 4 months ago (2014-08-13 00:08:24 UTC) #41
not at google - send to devlin
lgtm https://codereview.chromium.org/396033002/diff/270001/extensions/common/url_pattern_unittest.cc File extensions/common/url_pattern_unittest.cc (right): https://codereview.chromium.org/396033002/diff/270001/extensions/common/url_pattern_unittest.cc#newcode828 extensions/common/url_pattern_unittest.cc:828: .MatchesSingleOrigin()); On 2014/08/13 00:08:24, gpdavis wrote: > On ...
6 years, 4 months ago (2014-08-13 01:02:59 UTC) #42
gpdavis
Good to go? :) https://codereview.chromium.org/396033002/diff/270001/extensions/common/url_pattern_unittest.cc File extensions/common/url_pattern_unittest.cc (right): https://codereview.chromium.org/396033002/diff/270001/extensions/common/url_pattern_unittest.cc#newcode828 extensions/common/url_pattern_unittest.cc:828: .MatchesSingleOrigin()); On 2014/08/13 01:02:59, kalman ...
6 years, 4 months ago (2014-08-13 01:14:50 UTC) #43
not at google - send to devlin
lgtm, good to go! modulo running git-cl format.
6 years, 4 months ago (2014-08-13 01:26:14 UTC) #44
gpdavis
The CQ bit was checked by gpdavis.chromium@gmail.com
6 years, 4 months ago (2014-08-13 02:01:23 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gpdavis.chromium@gmail.com/396033002/390001
6 years, 4 months ago (2014-08-13 02:09:04 UTC) #46
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-13 10:07:27 UTC) #47
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/extension_context_menu_model.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 4 months ago (2014-08-13 10:07:29 UTC) #48
Devlin
On 2014/08/13 10:07:29, I haz the power (commit-bot) wrote: > Failed to apply patch for ...
6 years, 4 months ago (2014-08-13 15:29:38 UTC) #49
Devlin
https://codereview.chromium.org/396033002/diff/390001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/390001/chrome/browser/extensions/active_script_controller.cc#newcode111 chrome/browser/extensions/active_script_controller.cc:111: extensions::URLPatternSet new_explicit_hosts; no extensions:: prefix. https://codereview.chromium.org/396033002/diff/390001/chrome/browser/extensions/active_script_controller.cc#newcode126 chrome/browser/extensions/active_script_controller.cc:126: new extensions::PermissionSet(extensions::APIPermissionSet(), ...
6 years, 4 months ago (2014-08-13 16:55:04 UTC) #50
not at google - send to devlin
Greg, this failed to patch in, but that's a good thing because Devlin has some ...
6 years, 4 months ago (2014-08-13 17:17:47 UTC) #51
not at google - send to devlin
https://codereview.chromium.org/396033002/diff/390001/chrome/browser/extensions/active_script_controller_unittest.cc File chrome/browser/extensions/active_script_controller_unittest.cc (right): https://codereview.chromium.org/396033002/diff/390001/chrome/browser/extensions/active_script_controller_unittest.cc#newcode31 chrome/browser/extensions/active_script_controller_unittest.cc:31: const char kAllHostsPermission[] = "*://*/*"; hm I'd actually like ...
6 years, 4 months ago (2014-08-13 17:21:22 UTC) #52
gpdavis
On 2014/08/13 17:17:47, kalman wrote: > Greg, this failed to patch in, but that's a ...
6 years, 4 months ago (2014-08-13 22:18:12 UTC) #53
gpdavis
https://codereview.chromium.org/396033002/diff/390001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/390001/chrome/browser/extensions/active_script_controller.cc#newcode111 chrome/browser/extensions/active_script_controller.cc:111: extensions::URLPatternSet new_explicit_hosts; On 2014/08/13 16:55:03, Devlin wrote: > no ...
6 years, 4 months ago (2014-08-13 22:18:37 UTC) #54
not at google - send to devlin
https://codereview.chromium.org/396033002/diff/390001/chrome/browser/extensions/active_script_controller_unittest.cc File chrome/browser/extensions/active_script_controller_unittest.cc (right): https://codereview.chromium.org/396033002/diff/390001/chrome/browser/extensions/active_script_controller_unittest.cc#newcode367 chrome/browser/extensions/active_script_controller_unittest.cc:367: PermissionsUpdater(profile()).InitializePermissions(extension); On 2014/08/13 22:18:36, gpdavis wrote: > On 2014/08/13 ...
6 years, 4 months ago (2014-08-13 22:59:17 UTC) #55
gpdavis
https://codereview.chromium.org/396033002/diff/390001/chrome/browser/extensions/active_script_controller_unittest.cc File chrome/browser/extensions/active_script_controller_unittest.cc (right): https://codereview.chromium.org/396033002/diff/390001/chrome/browser/extensions/active_script_controller_unittest.cc#newcode367 chrome/browser/extensions/active_script_controller_unittest.cc:367: PermissionsUpdater(profile()).InitializePermissions(extension); On 2014/08/13 22:59:17, kalman wrote: > On 2014/08/13 ...
6 years, 4 months ago (2014-08-13 23:23:07 UTC) #56
not at google - send to devlin
https://codereview.chromium.org/396033002/diff/390001/chrome/browser/extensions/active_script_controller_unittest.cc File chrome/browser/extensions/active_script_controller_unittest.cc (right): https://codereview.chromium.org/396033002/diff/390001/chrome/browser/extensions/active_script_controller_unittest.cc#newcode367 chrome/browser/extensions/active_script_controller_unittest.cc:367: PermissionsUpdater(profile()).InitializePermissions(extension); On 2014/08/13 23:23:06, gpdavis wrote: > On 2014/08/13 ...
6 years, 4 months ago (2014-08-13 23:32:47 UTC) #57
gpdavis
https://codereview.chromium.org/396033002/diff/390001/chrome/browser/extensions/active_script_controller_unittest.cc File chrome/browser/extensions/active_script_controller_unittest.cc (right): https://codereview.chromium.org/396033002/diff/390001/chrome/browser/extensions/active_script_controller_unittest.cc#newcode367 chrome/browser/extensions/active_script_controller_unittest.cc:367: PermissionsUpdater(profile()).InitializePermissions(extension); On 2014/08/13 23:32:47, kalman wrote: > On 2014/08/13 ...
6 years, 4 months ago (2014-08-14 00:55:28 UTC) #58
Devlin
https://codereview.chromium.org/396033002/diff/450001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/450001/chrome/browser/extensions/active_script_controller.cc#newcode32 chrome/browser/extensions/active_script_controller.cc:32: #include "extensions/common/manifest_handlers/permissions_parser.h" Why? https://codereview.chromium.org/396033002/diff/450001/chrome/browser/extensions/active_script_controller.cc#newcode110 chrome/browser/extensions/active_script_controller.cc:110: GURL url = web_contents()->GetVisibleURL(); ...
6 years, 4 months ago (2014-08-14 01:20:19 UTC) #59
not at google - send to devlin
Hey Greg, I think you can save yourself a lot of time here by double-checking ...
6 years, 4 months ago (2014-08-14 14:18:59 UTC) #60
gpdavis
On 2014/08/14 14:18:59, kalman wrote: > Hey Greg, > > I think you can save ...
6 years, 4 months ago (2014-08-14 17:39:30 UTC) #61
not at google - send to devlin
> I guess what I imagine is > confirmation that the design is all correct, ...
6 years, 4 months ago (2014-08-14 17:59:21 UTC) #62
gpdavis
On 2014/08/14 17:59:21, kalman wrote: > > I guess what I imagine is > > ...
6 years, 4 months ago (2014-08-14 18:10:10 UTC) #63
Devlin
On 2014/08/14 18:10:10, gpdavis wrote: > On 2014/08/14 17:59:21, kalman wrote: > > > I ...
6 years, 4 months ago (2014-08-14 18:43:41 UTC) #64
gpdavis
On 2014/08/14 18:43:41, Devlin wrote: > On 2014/08/14 18:10:10, gpdavis wrote: > > On 2014/08/14 ...
6 years, 4 months ago (2014-08-14 18:47:40 UTC) #65
gpdavis
https://codereview.chromium.org/396033002/diff/450001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/450001/chrome/browser/extensions/active_script_controller.cc#newcode32 chrome/browser/extensions/active_script_controller.cc:32: #include "extensions/common/manifest_handlers/permissions_parser.h" On 2014/08/14 01:20:18, Devlin wrote: > Why? ...
6 years, 4 months ago (2014-08-14 20:05:43 UTC) #66
not at google - send to devlin
https://codereview.chromium.org/396033002/diff/450001/chrome/browser/extensions/active_script_controller_unittest.cc File chrome/browser/extensions/active_script_controller_unittest.cc (right): https://codereview.chromium.org/396033002/diff/450001/chrome/browser/extensions/active_script_controller_unittest.cc#newcode101 chrome/browser/extensions/active_script_controller_unittest.cc:101: return AddExtension(id_util::GenerateId("all_hosts_extension")); On 2014/08/14 20:05:43, gpdavis wrote: > On ...
6 years, 4 months ago (2014-08-14 20:08:07 UTC) #67
gpdavis
https://codereview.chromium.org/396033002/diff/450001/chrome/browser/extensions/active_script_controller_unittest.cc File chrome/browser/extensions/active_script_controller_unittest.cc (right): https://codereview.chromium.org/396033002/diff/450001/chrome/browser/extensions/active_script_controller_unittest.cc#newcode126 chrome/browser/extensions/active_script_controller_unittest.cc:126: const std::string id) { On 2014/08/14 20:08:07, kalman wrote: ...
6 years, 4 months ago (2014-08-14 20:19:20 UTC) #68
not at google - send to devlin
https://codereview.chromium.org/396033002/diff/510001/chrome/browser/extensions/active_script_controller_unittest.cc File chrome/browser/extensions/active_script_controller_unittest.cc (right): https://codereview.chromium.org/396033002/diff/510001/chrome/browser/extensions/active_script_controller_unittest.cc#newcode130 chrome/browser/extensions/active_script_controller_unittest.cc:130: std::string extension_id(id); nit: prefer " = id" here. https://codereview.chromium.org/396033002/diff/510001/chrome/browser/extensions/active_script_controller_unittest.cc#newcode392 ...
6 years, 4 months ago (2014-08-14 21:03:56 UTC) #69
gpdavis
https://codereview.chromium.org/396033002/diff/510001/chrome/browser/extensions/active_script_controller_unittest.cc File chrome/browser/extensions/active_script_controller_unittest.cc (right): https://codereview.chromium.org/396033002/diff/510001/chrome/browser/extensions/active_script_controller_unittest.cc#newcode130 chrome/browser/extensions/active_script_controller_unittest.cc:130: std::string extension_id(id); On 2014/08/14 21:03:55, kalman wrote: > nit: ...
6 years, 4 months ago (2014-08-14 21:59:53 UTC) #70
Devlin
https://codereview.chromium.org/396033002/diff/510001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/510001/chrome/browser/extensions/active_script_controller.cc#newcode124 chrome/browser/extensions/active_script_controller.cc:124: scoped_refptr<extensions::PermissionSet> new_permissions = extensions:: https://codereview.chromium.org/396033002/diff/510001/chrome/browser/extensions/active_script_controller_unittest.cc File chrome/browser/extensions/active_script_controller_unittest.cc (right): https://codereview.chromium.org/396033002/diff/510001/chrome/browser/extensions/active_script_controller_unittest.cc#newcode45 ...
6 years, 4 months ago (2014-08-14 22:01:12 UTC) #71
not at google - send to devlin
https://codereview.chromium.org/396033002/diff/510001/extensions/common/url_pattern_set.cc File extensions/common/url_pattern_set.cc (right): https://codereview.chromium.org/396033002/diff/510001/extensions/common/url_pattern_set.cc#newcode153 extensions/common/url_pattern_set.cc:153: origin_pattern.SetPath("/*"); On 2014/08/14 21:59:53, gpdavis wrote: > On 2014/08/14 ...
6 years, 4 months ago (2014-08-14 22:05:33 UTC) #72
not at google - send to devlin
lgtm at this point. https://codereview.chromium.org/396033002/diff/530001/extensions/common/url_pattern_set_unittest.cc File extensions/common/url_pattern_set_unittest.cc (right): https://codereview.chromium.org/396033002/diff/530001/extensions/common/url_pattern_set_unittest.cc#newcode426 extensions/common/url_pattern_set_unittest.cc:426: set.AddOrigin(URLPattern::SCHEME_ALL, GURL("https://www.google.com/")); Huh, I would ...
6 years, 4 months ago (2014-08-14 23:04:48 UTC) #73
gpdavis
Wanna look over these last couple of changes real quick? Then we should be good ...
6 years, 4 months ago (2014-08-14 23:31:33 UTC) #74
Devlin
lgtm after these fixes. https://codereview.chromium.org/396033002/diff/550001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/550001/chrome/browser/extensions/active_script_controller.cc#newcode133 chrome/browser/extensions/active_script_controller.cc:133: .AddPermissions(extension, new_permissions.get()); I realize that ...
6 years, 4 months ago (2014-08-15 15:10:32 UTC) #75
gpdavis
https://codereview.chromium.org/396033002/diff/550001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/396033002/diff/550001/chrome/browser/extensions/active_script_controller.cc#newcode133 chrome/browser/extensions/active_script_controller.cc:133: .AddPermissions(extension, new_permissions.get()); On 2014/08/15 15:10:31, Devlin wrote: > I ...
6 years, 4 months ago (2014-08-15 18:08:27 UTC) #76
gpdavis
6 years, 4 months ago (2014-08-15 18:08:34 UTC) #77
gpdavis
The CQ bit was checked by gpdavis.chromium@gmail.com
6 years, 4 months ago (2014-08-15 18:08:45 UTC) #78
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gpdavis.chromium@gmail.com/396033002/570001
6 years, 4 months ago (2014-08-15 18:11:39 UTC) #79
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-15 21:35:25 UTC) #80
commit-bot: I haz the power
6 years, 4 months ago (2014-08-15 23:05:52 UTC) #81
Message was sent while issue was closed.
Committed patchset #24 (570001) as 290039

Powered by Google App Engine
This is Rietveld 408576698