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

Unified Diff: third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.h

Issue 2911093002: Worklet: Move loader client impl from ThreadedWorklet to ThreadedWorkletMessagingProxy
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.h
diff --git a/third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.h b/third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.h
index 3e288c7b993588f327917bba26cfab316a9251b9..1c5128633d88c49864b287cc9984a851c4846654 100644
--- a/third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.h
+++ b/third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.h
@@ -8,10 +8,12 @@
#include "core/CoreExport.h"
#include "core/workers/ThreadedMessagingProxyBase.h"
#include "core/workers/WorkletGlobalScopeProxy.h"
+#include "core/workers/WorkletPendingTasks.h"
#include "platform/wtf/WeakPtr.h"
namespace blink {
+class ScriptSourceCode;
class ThreadedWorkletObjectProxy;
class CORE_EXPORT ThreadedWorkletMessagingProxy
@@ -19,10 +21,14 @@ class CORE_EXPORT ThreadedWorkletMessagingProxy
public WorkletGlobalScopeProxy {
public:
// WorkletGlobalScopeProxy implementation.
- void EvaluateScript(const ScriptSourceCode&) final;
+ void FetchAndInvokeScript(const KURL& module_url_record,
+ WebURLRequest::FetchCredentialsMode,
+ RefPtr<WebTaskRunner> outside_settings_task_runner,
+ WorkletPendingTasks*) final;
void TerminateWorkletGlobalScope() final;
void Initialize();
+ void EvaluateScript(const ScriptSourceCode&);
protected:
explicit ThreadedWorkletMessagingProxy(ExecutionContext*);

Powered by Google App Engine
This is Rietveld 408576698