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

Issue 8033001: Delegate decision what site instances can be rendered in what process to chrome (Closed)

Created:
9 years, 3 months ago by jochen (gone - plz use gerrit)
Modified:
9 years, 2 months ago
CC:
chromium-reviews, Avi (use Gerrit), Erik does not do reviews, dpranke+watch-content_chromium.org, mihaip+watch_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Delegate decision what site instances can be rendered in what process to chrome BUG=89642, 90443 TEST=nothing breaks Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103041

Patch Set 1 #

Patch Set 2 : fix tests #

Patch Set 3 : updates #

Total comments: 6

Patch Set 4 : updates #

Total comments: 1

Patch Set 5 : updates #

Patch Set 6 : fix #

Total comments: 9

Patch Set 7 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -89 lines) Patch
M chrome/browser/chrome_content_browser_client.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager.h View 1 2 3 4 5 6 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager.cc View 1 2 3 4 5 6 3 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_view_host_observer.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/content_browser_client.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/mock_content_browser_client.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/mock_content_browser_client.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host.h View 1 2 3 3 chunks +5 lines, -12 lines 0 comments Download
M content/browser/renderer_host/render_process_host.cc View 1 2 3 4 chunks +11 lines, -11 lines 0 comments Download
M content/browser/site_instance.h View 2 chunks +0 lines, -7 lines 0 comments Download
M content/browser/site_instance.cc View 1 2 3 4 5 3 chunks +6 lines, -30 lines 0 comments Download
M content/browser/site_instance_unittest.cc View 1 2 3 4 16 chunks +58 lines, -28 lines 0 comments Download
M content/content_tests.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/shell_content_browser_client.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/shell/shell_content_browser_client.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
jochen (gone - plz use gerrit)
plz review Aaron: extension_process_manager bits John: rest
9 years, 3 months ago (2011-09-23 20:49:05 UTC) #1
jam
http://codereview.chromium.org/8033001/diff/6001/chrome/browser/extensions/extension_process_manager.cc File chrome/browser/extensions/extension_process_manager.cc (right): http://codereview.chromium.org/8033001/diff/6001/chrome/browser/extensions/extension_process_manager.cc#newcode257 chrome/browser/extensions/extension_process_manager.cc:257: std::set<int>::iterator it = process_ids_.find(host_id); nit: you can also just ...
9 years, 2 months ago (2011-09-26 15:46:16 UTC) #2
jochen (gone - plz use gerrit)
http://codereview.chromium.org/8033001/diff/6001/content/browser/content_browser_client.h File content/browser/content_browser_client.h (right): http://codereview.chromium.org/8033001/diff/6001/content/browser/content_browser_client.h#newcode129 content/browser/content_browser_client.h:129: // special privileges, e.g. special bindings. On 2011/09/26 15:46:16, ...
9 years, 2 months ago (2011-09-26 15:56:04 UTC) #3
jam
http://codereview.chromium.org/8033001/diff/6001/content/browser/site_instance.cc File content/browser/site_instance.cc (right): http://codereview.chromium.org/8033001/diff/6001/content/browser/site_instance.cc#newcode135 content/browser/site_instance.cc:135: process_->is_extension_process(); note: it's not just kExtensionScheme that we don't ...
9 years, 2 months ago (2011-09-26 16:28:14 UTC) #4
jochen (gone - plz use gerrit)
I have a follow up CL that moves is_extension_process to the ExtensionProcessManager. Addressed all comments
9 years, 2 months ago (2011-09-26 19:08:39 UTC) #5
jam
http://codereview.chromium.org/8033001/diff/5007/content/browser/tab_contents/render_view_host_manager.cc File content/browser/tab_contents/render_view_host_manager.cc (right): http://codereview.chromium.org/8033001/diff/5007/content/browser/tab_contents/render_view_host_manager.cc#newcode369 content/browser/tab_contents/render_view_host_manager.cc:369: if (browser->ShouldRunInPrivilegedProcess(new_entry->url())) I think this concept of privilieged processes ...
9 years, 2 months ago (2011-09-26 21:08:58 UTC) #6
jochen (gone - plz use gerrit)
On 2011/09/26 21:08:58, John Abd-El-Malek wrote: > http://codereview.chromium.org/8033001/diff/5007/content/browser/tab_contents/render_view_host_manager.cc > File content/browser/tab_contents/render_view_host_manager.cc (right): > > http://codereview.chromium.org/8033001/diff/5007/content/browser/tab_contents/render_view_host_manager.cc#newcode369 ...
9 years, 2 months ago (2011-09-27 18:34:28 UTC) #7
jam
lgtm On 2011/09/27 18:34:28, jochen wrote: > On 2011/09/26 21:08:58, John Abd-El-Malek wrote: > > ...
9 years, 2 months ago (2011-09-27 18:50:43 UTC) #8
Aaron Boodman
These thoughts might be a bit scattered, I'll look again after lunch. http://codereview.chromium.org/8033001/diff/13005/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc ...
9 years, 2 months ago (2011-09-27 19:26:49 UTC) #9
jochen (gone - plz use gerrit)
http://codereview.chromium.org/8033001/diff/13005/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): http://codereview.chromium.org/8033001/diff/13005/chrome/browser/chrome_content_browser_client.cc#newcode255 chrome/browser/chrome_content_browser_client.cc:255: ExtensionProcessManager* process_manager = On 2011/09/27 19:26:49, Aaron Boodman wrote: ...
9 years, 2 months ago (2011-09-27 20:41:40 UTC) #10
Aaron Boodman
http://codereview.chromium.org/8033001/diff/13005/chrome/browser/renderer_host/chrome_render_view_host_observer.cc File chrome/browser/renderer_host/chrome_render_view_host_observer.cc (right): http://codereview.chromium.org/8033001/diff/13005/chrome/browser/renderer_host/chrome_render_view_host_observer.cc#newcode97 chrome/browser/renderer_host/chrome_render_view_host_observer.cc:97: render_view_host()->AllowBindings(BindingsPolicy::EXTENSION); On 2011/09/27 19:26:49, Aaron Boodman wrote: > I ...
9 years, 2 months ago (2011-09-27 20:50:53 UTC) #11
Aaron Boodman
LGTM Per offline discussion, please send follow up changes for the remaining issues.
9 years, 2 months ago (2011-09-27 21:03:23 UTC) #12
commit-bot: I haz the power
CQ is trying tha patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/8033001/18001
9 years, 2 months ago (2011-09-27 21:04:10 UTC) #13
commit-bot: I haz the power
9 years, 2 months ago (2011-09-27 23:07:33 UTC) #14
Change committed as 103041

Powered by Google App Engine
This is Rietveld 408576698