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

Issue 13811030: Simplify ExtensionProcessManager to only load extension background pages when a browser window is o… (Closed)

Created:
7 years, 8 months ago by jam
Modified:
7 years, 8 months ago
Reviewers:
Matt Perry
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Simplify ExtensionProcessManager to only load extension background pages when a browser window is opened, and skip the other case of also watching for when extension system is initialized. This gets rid of a dependency on browser finder. BUG=157279 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193481

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -36 lines) Patch
M chrome/browser/extensions/extension_process_manager.h View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager.cc View 1 5 chunks +2 lines, -31 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
jam
Matt: I can't find a reason why we'd need to watch both NOTIFICATION_EXTENSIONS_READY and NOTIFICATION_BROWSER_WINDOW_READY. ...
7 years, 8 months ago (2013-04-09 19:48:42 UTC) #1
Matt Perry
I don't know about this. This will delay background pages until the browser window first ...
7 years, 8 months ago (2013-04-09 21:22:25 UTC) #2
jam
On 2013/04/09 21:22:25, Matt Perry wrote: > I don't know about this. This will delay ...
7 years, 8 months ago (2013-04-09 22:54:42 UTC) #3
Matt Perry
On 2013/04/09 22:54:42, jam wrote: > On 2013/04/09 21:22:25, Matt Perry wrote: > > I ...
7 years, 8 months ago (2013-04-09 23:22:46 UTC) #4
jam
On 2013/04/09 23:22:46, Matt Perry wrote: > On 2013/04/09 22:54:42, jam wrote: > > On ...
7 years, 8 months ago (2013-04-09 23:30:31 UTC) #5
Matt Perry
On 2013/04/09 23:30:31, jam wrote: > On 2013/04/09 23:22:46, Matt Perry wrote: > > On ...
7 years, 8 months ago (2013-04-09 23:36:14 UTC) #6
jam
On 2013/04/09 23:36:14, Matt Perry wrote: > On 2013/04/09 23:30:31, jam wrote: > > On ...
7 years, 8 months ago (2013-04-10 00:55:44 UTC) #7
jam
btw I tested this on a release build, and it took 200ms between these two ...
7 years, 8 months ago (2013-04-10 01:03:54 UTC) #8
Matt Perry
On 2013/04/10 00:55:44, jam wrote: > On 2013/04/09 23:36:14, Matt Perry wrote: > > On ...
7 years, 8 months ago (2013-04-10 01:09:56 UTC) #9
jam
On 2013/04/10 01:09:56, Matt Perry wrote: > > I understand. I'm not trying to slow ...
7 years, 8 months ago (2013-04-10 01:28:11 UTC) #10
Matt Perry
https://codereview.chromium.org/13811030/diff/1/chrome/browser/extensions/extension_process_manager.cc File chrome/browser/extensions/extension_process_manager.cc (right): https://codereview.chromium.org/13811030/diff/1/chrome/browser/extensions/extension_process_manager.cc#newcode555 chrome/browser/extensions/extension_process_manager.cc:555: if (!service || !service->is_ready()) Can you move the service->is_ready() ...
7 years, 8 months ago (2013-04-10 19:31:45 UTC) #11
jam
https://codereview.chromium.org/13811030/diff/1/chrome/browser/extensions/extension_process_manager.cc File chrome/browser/extensions/extension_process_manager.cc (right): https://codereview.chromium.org/13811030/diff/1/chrome/browser/extensions/extension_process_manager.cc#newcode555 chrome/browser/extensions/extension_process_manager.cc:555: if (!service || !service->is_ready()) On 2013/04/10 19:31:45, Matt Perry ...
7 years, 8 months ago (2013-04-10 19:33:38 UTC) #12
Matt Perry
7 years, 8 months ago (2013-04-10 19:36:26 UTC) #13
lgtm

Powered by Google App Engine
This is Rietveld 408576698