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

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorInstrumentation.idl

Issue 2649323005: Cleanly detach XHR and other pending loader clients from Inspector. (Closed)
Patch Set: detach all loader clients from inspector Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 [Network] 206 [Network]
207 void willStartFetch(ExecutionContext*, ThreadableLoaderClient*); 207 void willStartFetch(ExecutionContext*, ThreadableLoaderClient*);
208 208
209 [Network] 209 [Network]
210 void didFailFetch(ExecutionContext*, ThreadableLoaderClient*); 210 void didFailFetch(ExecutionContext*, ThreadableLoaderClient*);
211 211
212 [Network] 212 [Network]
213 void didFinishFetch([Keep] ExecutionContext*, ThreadableLoaderClient*, const AtomicString& method, const String& url); 213 void didFinishFetch([Keep] ExecutionContext*, ThreadableLoaderClient*, const AtomicString& method, const String& url);
214 214
215 [Network] 215 [Network]
216 void detachClientRequest(ExecutionContext*, ThreadableLoaderClient*);
yhirano 2017/01/25 11:06:26 Please mention that this can be called from a pre-
sof 2017/01/25 11:44:30 Hmm. I don't see the value of adding that comment,
yhirano 2017/01/27 07:57:59 LocalFrame::detach does a lot of things so I don't
sof 2017/01/27 08:40:35 ok.. clarified.
217
218 [Network]
216 void scriptImported(ExecutionContext*, unsigned long identifier, const Strin g& sourceString); 219 void scriptImported(ExecutionContext*, unsigned long identifier, const Strin g& sourceString);
217 220
218 [DOMDebugger] 221 [DOMDebugger]
219 void scriptExecutionBlockedByCSP(ExecutionContext*, const String& directiveT ext); 222 void scriptExecutionBlockedByCSP(ExecutionContext*, const String& directiveT ext);
220 223
221 [Network] 224 [Network]
222 void didReceiveScriptResponse(ExecutionContext*, unsigned long identifier); 225 void didReceiveScriptResponse(ExecutionContext*, unsigned long identifier);
223 226
224 [DOM, Page] 227 [DOM, Page]
225 void domContentLoadedEventFired([Keep] LocalFrame*); 228 void domContentLoadedEventFired([Keep] LocalFrame*);
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 327
325 [Worker] 328 [Worker]
326 bool shouldWaitForDebuggerOnWorkerStart(ExecutionContext* context); 329 bool shouldWaitForDebuggerOnWorkerStart(ExecutionContext* context);
327 330
328 [Network] 331 [Network]
329 bool shouldForceCORSPreflight(Document*); 332 bool shouldForceCORSPreflight(Document*);
330 333
331 [Network] 334 [Network]
332 bool shouldBlockRequest(LocalFrame*, const ResourceRequest&); 335 bool shouldBlockRequest(LocalFrame*, const ResourceRequest&);
333 } 336 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698