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

Issue 6750014: Add a RenderProcessObserver. For now this will be primarily used to filter control messages, so ... (Closed)

Created:
9 years, 9 months ago by jam
Modified:
9 years, 7 months ago
Reviewers:
brettw
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Add a RenderProcessObserver. For now this will be primarily used to filter control messages, so that we can take out the chrome specific message dispatching out of RenderThread. It will also be used to clean up RenderThread a bit. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79565

Patch Set 1 : '' #

Total comments: 4

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -0 lines) Patch
M chrome/renderer/render_thread.h View 1 4 chunks +7 lines, -0 lines 0 comments Download
M chrome/renderer/render_thread.cc View 1 4 chunks +18 lines, -0 lines 1 comment Download
M content/content_renderer.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A content/renderer/render_process_observer.h View 1 chunk +27 lines, -0 lines 0 comments Download
A content/renderer/render_process_observer.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
jam
9 years, 9 months ago (2011-03-26 01:01:10 UTC) #1
brettw
http://codereview.chromium.org/6750014/diff/1002/chrome/renderer/render_thread.h File chrome/renderer/render_thread.h (right): http://codereview.chromium.org/6750014/diff/1002/chrome/renderer/render_thread.h#newcode419 chrome/renderer/render_thread.h:419: RenderProcessObserverList observers_; I wonder if this should be a ...
9 years, 9 months ago (2011-03-26 18:08:48 UTC) #2
jam
http://codereview.chromium.org/6750014/diff/1002/chrome/renderer/render_thread.h File chrome/renderer/render_thread.h (right): http://codereview.chromium.org/6750014/diff/1002/chrome/renderer/render_thread.h#newcode419 chrome/renderer/render_thread.h:419: RenderProcessObserverList observers_; On 2011/03/26 18:08:48, brettw wrote: > I ...
9 years, 9 months ago (2011-03-27 22:55:47 UTC) #3
brettw
9 years, 9 months ago (2011-03-28 16:17:54 UTC) #4
LGTM

http://codereview.chromium.org/6750014/diff/10001/chrome/renderer/render_thre...
File chrome/renderer/render_thread.cc (right):

http://codereview.chromium.org/6750014/diff/10001/chrome/renderer/render_thre...
chrome/renderer/render_thread.cc:651: while ((observer = it.GetNext()) != NULL)
Need {} for this while.

Powered by Google App Engine
This is Rietveld 408576698