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

Unified Diff: third_party/WebKit/Source/core/probe/CoreProbes.pidl

Issue 2807533003: [WIP2] off-main-thread loading
Patch Set: call set_is_secure_context in EmbeddedSharedWorkerStub::CreateWorkerFetchContext() Created 3 years, 8 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/probe/CoreProbes.pidl
diff --git a/third_party/WebKit/Source/core/probe/CoreProbes.pidl b/third_party/WebKit/Source/core/probe/CoreProbes.pidl
index 40c01ab9a5ec952e20cd2bdfe051f72e05efa936..d7e2ca0d47a1d65f1d1707e32bfe2f42e07e3229 100644
--- a/third_party/WebKit/Source/core/probe/CoreProbes.pidl
+++ b/third_party/WebKit/Source/core/probe/CoreProbes.pidl
@@ -85,17 +85,17 @@ interface CoreProbes {
void didFireWebGLErrorOrWarning(Element*, const String& message);
void didResizeMainFrame(LocalFrame*);
void didPaint(LocalFrame*, const GraphicsLayer*, GraphicsContext&, const LayoutRect&);
- void applyUserAgentOverride(LocalFrame*, String* userAgent);
- void didBlockRequest([Keep] LocalFrame*, const ResourceRequest&, DocumentLoader*, const FetchInitiatorInfo&, ResourceRequestBlockedReason);
+ void applyUserAgentOverride(ExecutionContext*, String* userAgent);
+ void didBlockRequest(ExecutionContext*, const ResourceRequest&, DocumentLoader*, const FetchInitiatorInfo&, ResourceRequestBlockedReason);
void didChangeResourcePriority(LocalFrame*, unsigned long identifier, ResourceLoadPriority loadPriority);
- void willSendRequest([Keep] LocalFrame*, unsigned long identifier, DocumentLoader*, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo&);
+ void willSendRequest(ExecutionContext*, unsigned long identifier, DocumentLoader*, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo&);
void markResourceAsCached(LocalFrame*, unsigned long identifier);
- void didReceiveResourceResponse([Keep] LocalFrame*, unsigned long identifier, DocumentLoader*, const ResourceResponse&, Resource*);
- void didReceiveData([Keep] LocalFrame*, unsigned long identifier, const char* data, int dataLength);
- void didReceiveEncodedDataLength([Keep] LocalFrame*, unsigned long identifier, int encodedDataLength);
- void didFinishLoading([Keep] LocalFrame* frame, unsigned long identifier, double finishTime, int64_t encodedDataLength, int64_t decodedBodyLength);
+ void didReceiveResourceResponse(ExecutionContext*, unsigned long identifier, DocumentLoader*, const ResourceResponse&, Resource*);
+ void didReceiveData(ExecutionContext*, unsigned long identifier, DocumentLoader*, const char* data, int dataLength);
+ void didReceiveEncodedDataLength(ExecutionContext*, unsigned long identifier, int encodedDataLength);
+ void didFinishLoading(ExecutionContext* frame, unsigned long identifier, DocumentLoader*, double finishTime, int64_t encodedDataLength, int64_t decodedBodyLength);
void didReceiveCORSRedirectResponse([Keep] LocalFrame*, unsigned long identifier, DocumentLoader*, const ResourceResponse&, Resource*);
- void didFailLoading(LocalFrame* frame, unsigned long identifier, const ResourceError&);
+ void didFailLoading(ExecutionContext*, unsigned long identifier, const ResourceError&);
void documentThreadableLoaderStartedLoadingForClient(ExecutionContext*, unsigned long identifier, ThreadableLoaderClient* client);
void documentThreadableLoaderFailedToStartLoadingForClient(ExecutionContext*, ThreadableLoaderClient* client);
void willSendEventSourceRequest(ExecutionContext*, ThreadableLoaderClient* eventSource);
@@ -156,5 +156,5 @@ interface CoreProbes {
void forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseudoState, bool* result);
void shouldWaitForDebuggerOnWorkerStart(ExecutionContext* context, bool* result);
void shouldForceCORSPreflight(Document*, bool* result);
- void shouldBlockRequest(LocalFrame*, const ResourceRequest&, bool* result);
+ void shouldBlockRequest(ExecutionContext*, const ResourceRequest&, bool* result);
}
« no previous file with comments | « third_party/WebKit/Source/core/probe/CoreProbes.cpp ('k') | third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698