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

Unified Diff: third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp

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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/ThreadedWorklet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp
diff --git a/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp b/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp
index 3f5a977af08f97c2f4497f2fd0b48dc2ab5d4f48..4ff8973c640db79960efde74a5475ea9dd5ac4f7 100644
--- a/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp
+++ b/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp
@@ -13,26 +13,9 @@
#include "core/workers/WorkletPendingTasks.h"
#include "platform/WebTaskRunner.h"
#include "platform/wtf/WTF.h"
-#include "public/platform/WebURLRequest.h"
namespace blink {
-namespace {
-
-WebURLRequest::FetchCredentialsMode ParseCredentialsOption(
- const String& credentials_option) {
- if (credentials_option == "omit")
- return WebURLRequest::kFetchCredentialsModeOmit;
- if (credentials_option == "same-origin")
- return WebURLRequest::kFetchCredentialsModeSameOrigin;
- if (credentials_option == "include")
- return WebURLRequest::kFetchCredentialsModeInclude;
- NOTREACHED();
- return WebURLRequest::kFetchCredentialsModeOmit;
-}
-
-} // namespace
-
MainThreadWorklet::MainThreadWorklet(LocalFrame* frame) : Worklet(frame) {}
WorkletGlobalScopeProxy* MainThreadWorklet::FindAvailableGlobalScope() const {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/ThreadedWorklet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698