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

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

Issue 1259393002: DevTools: add support for logging fetch requests when XHR logging is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixed the test Created 5 years, 4 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 [AsyncCallTracker, Resource] 266 [AsyncCallTracker, Resource]
267 void willLoadXHR(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoaderCli ent* client, const AtomicString& method, const KURL& url, bool async, PassRefPtr <FormData>, const HTTPHeaderMap& headers, bool includeCredentials); 267 void willLoadXHR(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoaderCli ent* client, const AtomicString& method, const KURL& url, bool async, PassRefPtr <FormData>, const HTTPHeaderMap& headers, bool includeCredentials);
268 268
269 [Resource] 269 [Resource]
270 void didFailXHRLoading([Keep] ExecutionContext*, XMLHttpRequest* xhr, Thread ableLoaderClient* client, const AtomicString& method, const String& url); 270 void didFailXHRLoading([Keep] ExecutionContext*, XMLHttpRequest* xhr, Thread ableLoaderClient* client, const AtomicString& method, const String& url);
271 271
272 [Resource] 272 [Resource]
273 void didFinishXHRLoading([Keep] ExecutionContext*, XMLHttpRequest* xhr, Thre adableLoaderClient* client, const AtomicString& method, const String& url); 273 void didFinishXHRLoading([Keep] ExecutionContext*, XMLHttpRequest* xhr, Thre adableLoaderClient* client, const AtomicString& method, const String& url);
274 274
275 [Resource] 275 [Resource]
276 void willStartFetch(ExecutionContext*, ThreadableLoaderClient*);
277
278 [Resource]
279 void didFailFetch(ExecutionContext*, ThreadableLoaderClient*);
280
281 [Resource]
282 void didFinishFetch([Keep] ExecutionContext*, ThreadableLoaderClient*, const AtomicString& method, const String& url);
283
284 [Resource]
276 void scriptImported(ExecutionContext*, unsigned long identifier, const Strin g& sourceString); 285 void scriptImported(ExecutionContext*, unsigned long identifier, const Strin g& sourceString);
277 286
278 [Debugger] 287 [Debugger]
279 void scriptExecutionBlockedByCSP(ExecutionContext*, const String& directiveT ext); 288 void scriptExecutionBlockedByCSP(ExecutionContext*, const String& directiveT ext);
280 289
281 [Resource] 290 [Resource]
282 void didReceiveScriptResponse(ExecutionContext*, unsigned long identifier); 291 void didReceiveScriptResponse(ExecutionContext*, unsigned long identifier);
283 292
284 [PageDebugger] 293 [PageDebugger]
285 void didStartProvisionalLoad([Keep] LocalFrame*); 294 void didStartProvisionalLoad([Keep] LocalFrame*);
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 interface InspectorOverrides { 445 interface InspectorOverrides {
437 [CSS, Inline=FastReturn] 446 [CSS, Inline=FastReturn]
438 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState); 447 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState);
439 448
440 [Worker, Inline=FastReturn] 449 [Worker, Inline=FastReturn]
441 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context); 450 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context);
442 451
443 [Resource, Inline=FastReturn] 452 [Resource, Inline=FastReturn]
444 bool shouldForceCORSPreflight(Document*); 453 bool shouldForceCORSPreflight(Document*);
445 } 454 }
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/inspector/network/resources/event-stream.asis ('k') | Source/core/inspector/InspectorPageAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698