diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-08-30 10:22:43 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-08-30 12:36:28 +0000 |
commit | 271a6c3487a14599023a9106329505597638d793 (patch) | |
tree | e040d58ffc86c1480b79ca8528020ca9ec919bf8 /chromium/third_party/blink/renderer/core/workers/dedicated_worker.h | |
parent | 7b2ffa587235a47d4094787d72f38102089f402a (diff) | |
download | qtwebengine-chromium-271a6c3487a14599023a9106329505597638d793.tar.gz |
BASELINE: Update Chromium to 77.0.3865.59
Change-Id: I1e89a5f3b009a9519a6705102ad65c92fe736f21
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core/workers/dedicated_worker.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/workers/dedicated_worker.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/core/workers/dedicated_worker.h b/chromium/third_party/blink/renderer/core/workers/dedicated_worker.h index a305ae06e31..ec220869fd3 100644 --- a/chromium/third_party/blink/renderer/core/workers/dedicated_worker.h +++ b/chromium/third_party/blink/renderer/core/workers/dedicated_worker.h @@ -18,6 +18,7 @@ #include "third_party/blink/renderer/core/workers/global_scope_creation_params.h" #include "third_party/blink/renderer/core/workers/worker_options.h" #include "third_party/blink/renderer/platform/graphics/begin_frame_provider.h" +#include "third_party/blink/renderer/platform/loader/fetch/fetch_client_settings_object_snapshot.h" #include "third_party/blink/renderer/platform/weborigin/kurl.h" #include "third_party/blink/renderer/platform/wtf/forward.h" #include "v8/include/v8-inspector.h" @@ -69,9 +70,9 @@ class CORE_EXPORT DedicatedWorker final public WebDedicatedWorker { DEFINE_WRAPPERTYPEINFO(); USING_GARBAGE_COLLECTED_MIXIN(DedicatedWorker); - // Eager finalization is needed to notify the parent object destruction of the + // Pre-finalization is needed to notify the parent object destruction of the // GC-managed messaging proxy and to initiate worker termination. - EAGERLY_FINALIZE(); + USING_PRE_FINALIZER(DedicatedWorker, Dispose); public: static DedicatedWorker* Create(ExecutionContext*, @@ -84,6 +85,8 @@ class CORE_EXPORT DedicatedWorker final const WorkerOptions*); ~DedicatedWorker() override; + void Dispose(); + void postMessage(ScriptState*, const ScriptValue& message, Vector<ScriptValue>& transfer, @@ -142,6 +145,8 @@ class CORE_EXPORT DedicatedWorker final const KURL script_request_url_; Member<const WorkerOptions> options_; + Member<const FetchClientSettingsObjectSnapshot> + outside_fetch_client_settings_object_; const Member<DedicatedWorkerMessagingProxy> context_proxy_; Member<WorkerClassicScriptLoader> classic_script_loader_; |