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

Issue 42054: Stop using renderer specific host ids in ResourceDispatcher. This allows it ... (Closed)

Created:
11 years, 9 months ago by jam
Modified:
9 years, 7 months ago
Reviewers:
Matt Perry
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Stop having renderers use both pids and a monotonically increasing "host_id". This allows ResourceDispatcher to be used by child processes other than renderers. I've done minor related cleanup on the way to make the code simpler. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=11509

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 8

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -227 lines) Patch
M chrome/browser/cert_store.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/download_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/save_package.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/plugin_process_host.h View 1 2 3 4 5 6 7 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/plugin_process_host.cc View 1 2 3 4 5 6 7 5 chunks +15 lines, -37 lines 0 comments Download
M chrome/browser/renderer_host/async_resource_handler.h View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/renderer_host/async_resource_handler.cc View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 1 2 3 8 chunks +22 lines, -22 lines 0 comments Download
M chrome/browser/renderer_host/render_process_host.h View 1 2 3 4 5 6 3 chunks +5 lines, -10 lines 0 comments Download
M chrome/browser/renderer_host/render_process_host.cc View 1 2 3 4 4 chunks +12 lines, -8 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 2 3 4 5 6 17 chunks +23 lines, -24 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_helper.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_helper.cc View 1 2 3 4 5 6 7 3 chunks +11 lines, -5 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.h View 1 2 3 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.cc View 1 2 10 chunks +18 lines, -15 lines 0 comments Download
M chrome/browser/site_instance_unittest.cc View 2 1 chunk +5 lines, -6 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ssl/ssl_policy.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/interstitial_page.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/tab_contents/render_view_host_manager.cc View 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/tab_contents/site_instance.h View 2 5 chunks +11 lines, -20 lines 0 comments Download
M chrome/browser/tab_contents/site_instance.cc View 2 3 2 chunks +35 lines, -16 lines 0 comments Download
M chrome/browser/tab_contents/web_contents.cc View 2 3 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/web_contents_view_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/plugin_messages_internal.h View 1 2 2 chunks +2 lines, -7 lines 0 comments Download
M chrome/plugin/plugin_channel.h View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/plugin/plugin_channel.cc View 1 2 2 chunks +11 lines, -12 lines 0 comments Download
M chrome/plugin/plugin_thread.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/plugin/plugin_thread.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jam
11 years, 9 months ago (2009-03-11 23:42:03 UTC) #1
Matt Perry
Looks good overall. It's pretty much guaranteed to break the build when you check it ...
11 years, 9 months ago (2009-03-12 01:11:16 UTC) #2
jam
I had run all the unit/ui tests and try bots seem fine, so crossing fingers. ...
11 years, 9 months ago (2009-03-12 01:21:45 UTC) #3
Matt Perry
http://codereview.chromium.org/42054/diff/59/3013 File chrome/browser/plugin_process_host.cc (right): http://codereview.chromium.org/42054/diff/59/3013#newcode727 Line 727: sent_requests_.erase(sent_requests_.begin()); On 2009/03/12 01:21:46, John Abd-El-Malek wrote: > ...
11 years, 9 months ago (2009-03-12 01:31:30 UTC) #4
jam
http://codereview.chromium.org/42054/diff/59/3013 File chrome/browser/plugin_process_host.cc (right): http://codereview.chromium.org/42054/diff/59/3013#newcode727 Line 727: sent_requests_.erase(sent_requests_.begin()); On 2009/03/12 01:31:30, Matt Perry wrote: > ...
11 years, 9 months ago (2009-03-12 01:36:28 UTC) #5
Matt Perry
11 years, 9 months ago (2009-03-12 01:46:20 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698