The code you are asking is in the TChromium.ShareRequestContext function I mentioned before.
Code: Select all
TCefRequestContextRef.Shared(FBrowser.Host.RequestContext, aHandler);
comments in /include/capi/cef_request_context_capi.h
Code: Select all
///
// Creates a new context object that shares storage with |other| and uses an
// optional |handler|.
///
The second parameter is a ICefRequestContextHandler in case you are using that. By default, it's nil.
When you call TChromium.CreateBrowser without a RequestContext, the new browser will use the global request context and the settings from GlobalCEFApp.
If the request context used as the first parameter in TCefRequestContextRef.Shared is the global request context, then it will be using the settings from GlobalCEFApp.