Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Issue 11260041: Fix extension event dispatch for split mode extensions. (Closed)

Created:
8 years, 1 month ago by bryeung
Modified:
8 years, 1 month ago
Reviewers:
Matt Perry
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Fix extension event dispatch for split mode extensions. Previously extensions with loaded background pages that were also split mode (i.e. with an unloaded incognito mode background page) would not receive events. BUG=156484 TEST=on ChromeOS, the calculator app can be closed and immediately reopened Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164339

Patch Set 1 #

Patch Set 2 : identify via RenderProcessHost + extension id #

Total comments: 2

Patch Set 3 : address review comments #

Patch Set 4 : minor cleanup #

Total comments: 1

Patch Set 5 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -22 lines) Patch
M chrome/browser/extensions/event_router.h View 1 2 3 4 chunks +12 lines, -4 lines 0 comments Download
M chrome/browser/extensions/event_router.cc View 1 2 3 4 4 chunks +26 lines, -18 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Matt Perry
https://codereview.chromium.org/11260041/diff/6/chrome/browser/extensions/event_router.cc File chrome/browser/extensions/event_router.cc (right): https://codereview.chromium.org/11260041/diff/6/chrome/browser/extensions/event_router.cc#newcode88 chrome/browser/extensions/event_router.cc:88: EventDispatchIdentifier; I would make this a pair of Profile, ...
8 years, 1 month ago (2012-10-25 21:00:03 UTC) #1
bryeung
Great suggestions: thank you. They're all incorporated. PTAL
8 years, 1 month ago (2012-10-25 21:21:25 UTC) #2
Matt Perry
LGTM https://codereview.chromium.org/11260041/diff/10001/chrome/browser/extensions/event_router.cc File chrome/browser/extensions/event_router.cc (right): https://codereview.chromium.org/11260041/diff/10001/chrome/browser/extensions/event_router.cc#newcode444 chrome/browser/extensions/event_router.cc:444: nit: rm extra newline
8 years, 1 month ago (2012-10-25 21:35:27 UTC) #3
commit-bot: I haz the power
8 years, 1 month ago (2012-10-26 15:54:19 UTC) #4
Change committed as 164339

Powered by Google App Engine
This is Rietveld 408576698