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

Issue 1096313003: Create interface "EventPageTracker" for checking an extension's (Closed)

Created:
5 years, 8 months ago by Kevin M
Modified:
5 years, 7 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

Create interface "EventPageTracker" for checking an extension's suspend state and waking it up. Make ProcessManager inherit from EventPageTracker. Add new WakeExtension method to ProcessManager. R=kalman@chromium.org,mfoltz@chromium.org BUG= Committed: https://crrev.com/24b29b2f35f869b17579d6e95290482cec8ea4f1 Cr-Commit-Position: refs/heads/master@{#327412}

Patch Set 1 #

Patch Set 2 : More documentation. #

Total comments: 7

Patch Set 3 : Code review feedback. #

Total comments: 16

Patch Set 4 : Code review feedback. #

Total comments: 2

Patch Set 5 : 80col rewrap #

Total comments: 2

Patch Set 6 : Merge with master. #

Patch Set 7 : Fix IWYU linter error while I'm at it. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -1 line) Patch
A extensions/browser/event_page_tracker.h View 1 2 3 4 5 1 chunk +39 lines, -0 lines 0 comments Download
M extensions/browser/process_manager.h View 1 2 3 4 5 3 chunks +8 lines, -1 line 0 comments Download
M extensions/browser/process_manager.cc View 1 2 3 4 5 6 4 chunks +25 lines, -0 lines 0 comments Download
M extensions/extensions.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
Kevin M
5 years, 8 months ago (2015-04-24 19:31:54 UTC) #1
not at google - send to devlin
https://codereview.chromium.org/1096313003/diff/20001/extensions/browser/event_page_tracker.h File extensions/browser/event_page_tracker.h (right): https://codereview.chromium.org/1096313003/diff/20001/extensions/browser/event_page_tracker.h#newcode27 extensions/browser/event_page_tracker.h:27: const std::string& extension_id) = 0; GetEventPageForExtension? Just "background host" ...
5 years, 8 months ago (2015-04-24 20:05:08 UTC) #2
Kevin Marshall
https://codereview.chromium.org/1096313003/diff/20001/extensions/browser/event_page_tracker.h File extensions/browser/event_page_tracker.h (right): https://codereview.chromium.org/1096313003/diff/20001/extensions/browser/event_page_tracker.h#newcode27 extensions/browser/event_page_tracker.h:27: const std::string& extension_id) = 0; On 2015/04/24 20:05:08, kalman ...
5 years, 8 months ago (2015-04-24 21:04:53 UTC) #4
not at google - send to devlin
https://codereview.chromium.org/1096313003/diff/20001/extensions/browser/event_page_tracker.h File extensions/browser/event_page_tracker.h (right): https://codereview.chromium.org/1096313003/diff/20001/extensions/browser/event_page_tracker.h#newcode27 extensions/browser/event_page_tracker.h:27: const std::string& extension_id) = 0; On 2015/04/24 21:04:53, Kevin ...
5 years, 8 months ago (2015-04-24 21:20:43 UTC) #5
mark a. foltz
Mostly copy editing suggestions for the documentation. And unit tests? :) How expensive is this? ...
5 years, 8 months ago (2015-04-24 22:54:49 UTC) #6
Kevin M
> "And unit tests"? I spent a couple hours trying to get this to work, ...
5 years, 8 months ago (2015-04-27 19:45:38 UTC) #7
not at google - send to devlin
On 2015/04/27 19:45:38, Kevin M wrote: > > "And unit tests"? > > I spent ...
5 years, 8 months ago (2015-04-27 20:24:46 UTC) #8
Devlin
On 2015/04/27 20:24:46, kalman wrote: > On 2015/04/27 19:45:38, Kevin M wrote: > > > ...
5 years, 8 months ago (2015-04-27 20:33:23 UTC) #9
mark a. foltz
lgtm % one comment. Regarding unit tests, if there is an existing solution that lets ...
5 years, 8 months ago (2015-04-27 23:26:40 UTC) #10
Kevin M
Hey devlin/kalman, Thanks for the WebContents link. I think that thoroughly testing this change might ...
5 years, 7 months ago (2015-04-28 21:12:14 UTC) #11
not at google - send to devlin
https://codereview.chromium.org/1096313003/diff/80001/extensions/browser/event_page_tracker.h File extensions/browser/event_page_tracker.h (right): https://codereview.chromium.org/1096313003/diff/80001/extensions/browser/event_page_tracker.h#newcode31 extensions/browser/event_page_tracker.h:31: // or false if the event page was already ...
5 years, 7 months ago (2015-04-28 21:35:11 UTC) #12
not at google - send to devlin
meant to say "lgtm and I'm fine with not adding tests"
5 years, 7 months ago (2015-04-28 21:35:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096313003/100001
5 years, 7 months ago (2015-04-28 22:29:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096313003/120001
5 years, 7 months ago (2015-04-28 23:07:56 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 7 months ago (2015-04-29 01:41:56 UTC) #21
commit-bot: I haz the power
5 years, 7 months ago (2015-04-29 01:42:45 UTC) #22
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/24b29b2f35f869b17579d6e95290482cec8ea4f1
Cr-Commit-Position: refs/heads/master@{#327412}

Powered by Google App Engine
This is Rietveld 408576698