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

Issue 296483011: Run any pending injections in ActiveScriptController if permission is granted (Closed)

Created:
6 years, 7 months ago by Devlin
Modified:
6 years, 7 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Run any pending injections in ActiveScriptController if permission is granted If ActiveTab permission is granted to an extension through a means other than ActiveScriptController, have ActiveScriptController run any pending tasks for that extension. BUG=362353 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272413

Patch Set 1 : #

Total comments: 10

Patch Set 2 : Ben's #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -14 lines) Patch
M chrome/browser/extensions/active_script_controller.h View 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/active_script_controller.cc View 1 4 chunks +23 lines, -10 lines 0 comments Download
M chrome/browser/extensions/active_script_controller_unittest.cc View 1 chunk +20 lines, -4 lines 0 comments Download
M chrome/browser/extensions/active_tab_permission_granter.cc View 1 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Devlin
Nice and short, for a change.
6 years, 7 months ago (2014-05-22 16:42:27 UTC) #1
not at google - send to devlin
lgtm https://codereview.chromium.org/296483011/diff/20001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/296483011/diff/20001/chrome/browser/extensions/active_script_controller.cc#newcode172 chrome/browser/extensions/active_script_controller.cc:172: DCHECK(extension); you already DCHECK the extension at all ...
6 years, 7 months ago (2014-05-22 20:44:49 UTC) #2
Devlin
https://codereview.chromium.org/296483011/diff/20001/chrome/browser/extensions/active_script_controller.cc File chrome/browser/extensions/active_script_controller.cc (right): https://codereview.chromium.org/296483011/diff/20001/chrome/browser/extensions/active_script_controller.cc#newcode172 chrome/browser/extensions/active_script_controller.cc:172: DCHECK(extension); On 2014/05/22 20:44:49, kalman wrote: > you already ...
6 years, 7 months ago (2014-05-22 22:12:36 UTC) #3
Devlin
The CQ bit was checked by rdevlin.cronin@chromium.org
6 years, 7 months ago (2014-05-22 22:12:39 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/296483011/40001
6 years, 7 months ago (2014-05-22 22:13:10 UTC) #5
not at google - send to devlin
lgtm https://codereview.chromium.org/296483011/diff/20001/chrome/browser/extensions/active_tab_permission_granter.cc File chrome/browser/extensions/active_tab_permission_granter.cc (right): https://codereview.chromium.org/296483011/diff/20001/chrome/browser/extensions/active_tab_permission_granter.cc#newcode81 chrome/browser/extensions/active_tab_permission_granter.cc:81: if (navigation_entry) { On 2014/05/22 22:12:36, Devlin wrote: ...
6 years, 7 months ago (2014-05-22 22:21:47 UTC) #6
commit-bot: I haz the power
6 years, 7 months ago (2014-05-23 06:50:36 UTC) #7
Message was sent while issue was closed.
Change committed as 272413

Powered by Google App Engine
This is Rietveld 408576698