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

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

Issue 108103002: DevTools: Remove unneeded willReceiveResourceData instrumentation and reuse didReceiveData instead … (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/fetch/ResourceFetcher.cpp ('k') | Source/core/inspector/InspectorResourceAgent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 273
274 [Page, Inline=FastReturn] 274 [Page, Inline=FastReturn]
275 void applyEmulatedMedia(LocalFrame*, String* media); 275 void applyEmulatedMedia(LocalFrame*, String* media);
276 276
277 [Timeline, Resource] 277 [Timeline, Resource]
278 void willSendRequest(LocalFrame*, unsigned long identifier, DocumentLoader*, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiato rInfo&); 278 void willSendRequest(LocalFrame*, unsigned long identifier, DocumentLoader*, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiato rInfo&);
279 279
280 [Resource] 280 [Resource]
281 void markResourceAsCached(Page*, unsigned long identifier); 281 void markResourceAsCached(Page*, unsigned long identifier);
282 282
283 [Timeline, Inline=FastReturn]
284 InspectorInstrumentationCookie willReceiveResourceData([Keep] LocalFrame*, u nsigned long identifier, int length);
285
286 [Timeline, Inline=FastReturn]
287 void didReceiveResourceData(const InspectorInstrumentationCookie&);
288
289 [Timeline, Resource, Console] // Console should come AFTER Resource notifica tion, front-end relies on this. 283 [Timeline, Resource, Console] // Console should come AFTER Resource notifica tion, front-end relies on this.
290 void didReceiveResourceResponse([Keep] LocalFrame*, unsigned long identifier , DocumentLoader*, const ResourceResponse&, ResourceLoader*); 284 void didReceiveResourceResponse([Keep] LocalFrame*, unsigned long identifier , DocumentLoader*, const ResourceResponse&, ResourceLoader*);
291 285
292 [Inline=Forward] 286 [Inline=Forward]
293 void continueAfterXFrameOptionsDenied(LocalFrame* frame, DocumentLoader* loa der, unsigned long identifier, const ResourceResponse& r); 287 void continueAfterXFrameOptionsDenied(LocalFrame* frame, DocumentLoader* loa der, unsigned long identifier, const ResourceResponse& r);
294 288
295 [Inline=Forward] 289 [Inline=Forward]
296 void continueWithPolicyDownload(LocalFrame* frame, DocumentLoader* loader, u nsigned long identifier, const ResourceResponse& r); 290 void continueWithPolicyDownload(LocalFrame* frame, DocumentLoader* loader, u nsigned long identifier, const ResourceResponse& r);
297 291
298 [Inline=Forward] 292 [Inline=Forward]
299 void continueWithPolicyIgnore(LocalFrame* frame, DocumentLoader* loader, uns igned long identifier, const ResourceResponse& r); 293 void continueWithPolicyIgnore(LocalFrame* frame, DocumentLoader* loader, uns igned long identifier, const ResourceResponse& r);
300 294
301 [Resource] 295 [Timeline, Resource, Inline=FastReturn]
302 void didReceiveData(LocalFrame*, unsigned long identifier, const char* data, int dataLength, int encodedDataLength); 296 void didReceiveData([Keep] LocalFrame*, unsigned long identifier, const char * data, int dataLength, int encodedDataLength);
303 297
304 [Timeline, Resource] 298 [Timeline, Resource]
305 void didFinishLoading(LocalFrame* frame, unsigned long identifier, DocumentL oader*, double finishTime, int64_t encodedDataLength); 299 void didFinishLoading(LocalFrame* frame, unsigned long identifier, DocumentL oader*, double finishTime, int64_t encodedDataLength);
306 300
307 [Resource] 301 [Resource]
308 void didReceiveCORSRedirectResponse([Keep] LocalFrame*, unsigned long identi fier, DocumentLoader*, const ResourceResponse&, ResourceLoader*); 302 void didReceiveCORSRedirectResponse([Keep] LocalFrame*, unsigned long identi fier, DocumentLoader*, const ResourceResponse&, ResourceLoader*);
309 303
310 [Timeline, Resource, Console] // Console should come AFTER Resource notifica tion, front-end relies on this. 304 [Timeline, Resource, Console] // Console should come AFTER Resource notifica tion, front-end relies on this.
311 void didFailLoading(LocalFrame* frame, unsigned long identifier, const Resou rceError&); 305 void didFailLoading(LocalFrame* frame, unsigned long identifier, const Resou rceError&);
312 306
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 531
538 [Debugger, Inline=FastReturn] 532 [Debugger, Inline=FastReturn]
539 void didCreatePromise(ExecutionContext*, const ScriptObject& promise); 533 void didCreatePromise(ExecutionContext*, const ScriptObject& promise);
540 534
541 [Debugger, Inline=FastReturn] 535 [Debugger, Inline=FastReturn]
542 void didUpdatePromiseParent(ExecutionContext*, const ScriptObject& promise, const ScriptObject& parentPromise); 536 void didUpdatePromiseParent(ExecutionContext*, const ScriptObject& promise, const ScriptObject& parentPromise);
543 537
544 [Debugger, Inline=FastReturn] 538 [Debugger, Inline=FastReturn]
545 void didUpdatePromiseState(ExecutionContext*, const ScriptObject& promise, V 8PromiseCustom::PromiseState, const ScriptValue& result); 539 void didUpdatePromiseState(ExecutionContext*, const ScriptObject& promise, V 8PromiseCustom::PromiseState, const ScriptValue& result);
546 } 540 }
OLDNEW
« no previous file with comments | « Source/core/fetch/ResourceFetcher.cpp ('k') | Source/core/inspector/InspectorResourceAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698