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

Issue 1229903003: Mandoline: Implement basic "process per site" support (Closed)

Created:
5 years, 5 months ago by Fady Samuel
Modified:
5 years, 3 months ago
Reviewers:
jam
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mandoline: Implement basic "process per site" support After fetching the resource, if it turns out it has a mime type that can be handled by a known mojo app, then we grab the resources' URL, convert it into a Site URL and use it as a qualifier to determine what process the mojo app that will handle the resource should live in. BUG=496937 Committed: https://crrev.com/d75d12d0827be6d395ac851d37af4ba1ef78b60d Cr-Commit-Position: refs/heads/master@{#338317}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Avoid process hop #

Total comments: 2

Patch Set 3 : Addressed nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -7 lines) Patch
M mojo/services/network/public/interfaces/url_loader.mojom View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/services/network/url_loader_impl.cc View 1 2 chunks +37 lines, -0 lines 0 comments Download
M mojo/shell/application_manager.cc View 1 1 chunk +17 lines, -7 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Fady Samuel
This probably could use a test or two, but could you please take a look ...
5 years, 5 months ago (2015-07-09 21:20:04 UTC) #2
jam
thinking about it more, how about having the NetworkFetcher return this to HandleFetchCallback? that way ...
5 years, 5 months ago (2015-07-09 22:32:37 UTC) #3
Fady Samuel
On 2015/07/09 22:32:37, jam wrote: > thinking about it more, how about having the NetworkFetcher ...
5 years, 5 months ago (2015-07-09 23:10:33 UTC) #4
Fady Samuel
PTAL!
5 years, 5 months ago (2015-07-10 16:05:45 UTC) #6
jam
lgtm https://codereview.chromium.org/1229903003/diff/40001/mojo/services/network/public/interfaces/url_loader.mojom File mojo/services/network/public/interfaces/url_loader.mojom (right): https://codereview.chromium.org/1229903003/diff/40001/mojo/services/network/public/interfaces/url_loader.mojom#newcode51 mojo/services/network/public/interfaces/url_loader.mojom:51: // The site of the URL used for ...
5 years, 5 months ago (2015-07-10 16:12:01 UTC) #7
Fady Samuel
CQ'ing now. https://codereview.chromium.org/1229903003/diff/40001/mojo/services/network/public/interfaces/url_loader.mojom File mojo/services/network/public/interfaces/url_loader.mojom (right): https://codereview.chromium.org/1229903003/diff/40001/mojo/services/network/public/interfaces/url_loader.mojom#newcode51 mojo/services/network/public/interfaces/url_loader.mojom:51: // The site of the URL used ...
5 years, 5 months ago (2015-07-10 16:16:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229903003/60001
5 years, 5 months ago (2015-07-10 16:16:24 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 5 months ago (2015-07-10 17:42:29 UTC) #12
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/d75d12d0827be6d395ac851d37af4ba1ef78b60d Cr-Commit-Position: refs/heads/master@{#338317}
5 years, 5 months ago (2015-07-10 17:44:07 UTC) #13
jam
5 years, 3 months ago (2015-09-10 19:38:47 UTC) #14
Message was sent while issue was closed.
hey Fady, ok Darin and I were talking about this. He pointed out that this is a
layering violation, since mojo shell's needs are leaking into URLResponse's
interface.

now that we have perf bots, can we try approach 1 and see if this affects
performance?

Thanks and sorry for the back and forth!

Powered by Google App Engine
This is Rietveld 408576698