[Webkit-unassigned] [Bug 222366] [WPE][GTK] Move network session APIs to a new WebKitNetworkSession class

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 20 08:47:27 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=222366

--- Comment #15 from Michael Catanzaro <mcatanzaro at gnome.org> ---
(In reply to Carlos Garcia Campos from comment #12)
> That's because we want to apply the settings to any network process spawned
> by the website data store. Now there's only one network process, but still,
> you can't set different settings per network session, because it's global to
> the network process. So, this is like a static method of
> WebKitNetworkSession.

OK, I see that it really *has* to be this way because it wouldn't make sense to have separate memory pressure settings per network session when all the network sessions use the same network process. So OK.

> I guess the tricky part is that we use the new placement syntax for the
> private struct to be able to use smart pointers, that's why we have our own
> macros to define types. G_DECLARE_FINAL_TYPE doesn't use a private struct, I
> think.

Let's discuss in bug #243663.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230120/6bffbb36/attachment.htm>


More information about the webkit-unassigned mailing list