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

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

Issue 23444058: Use downloadToFile option when XHR downloads a Blob (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 275
276 [Inline=Forward] 276 [Inline=Forward]
277 void continueWithPolicyDownload(Frame* frame, DocumentLoader* loader, unsign ed long identifier, const ResourceResponse& r); 277 void continueWithPolicyDownload(Frame* frame, DocumentLoader* loader, unsign ed long identifier, const ResourceResponse& r);
278 278
279 [Inline=Forward] 279 [Inline=Forward]
280 void continueWithPolicyIgnore(Frame* frame, DocumentLoader* loader, unsigned long identifier, const ResourceResponse& r); 280 void continueWithPolicyIgnore(Frame* frame, DocumentLoader* loader, unsigned long identifier, const ResourceResponse& r);
281 281
282 [Resource] 282 [Resource]
283 void didReceiveData(Frame*, unsigned long identifier, const char* data, int dataLength, int encodedDataLength); 283 void didReceiveData(Frame*, unsigned long identifier, const char* data, int dataLength, int encodedDataLength);
284 284
285 [Resource]
286 void didReceiveDataWithoutData(Frame*, unsigned long identifier, int dataLen gth, int encodedDataLength);
eustas 2013/09/19 04:52:37 The method name doesn't sound good. Why don't reu
yusukesuzuki 2013/09/19 05:13:58 Since didDownloadData always has no data, I think
yusukesuzuki 2013/09/19 05:33:06 Is it more preferable reusing "didReceiveData"?
yusukesuzuki 2013/09/19 15:41:21 Done. Thanks for your suggestion.
287
285 [Timeline, Resource] 288 [Timeline, Resource]
286 void didFinishLoading(Frame* frame, unsigned long identifier, DocumentLoader *, double finishTime); 289 void didFinishLoading(Frame* frame, unsigned long identifier, DocumentLoader *, double finishTime);
287 290
288 [Resource] 291 [Resource]
289 void didReceiveCORSRedirectResponse(Frame*, unsigned long identifier, Docume ntLoader*, const ResourceResponse&, ResourceLoader*); 292 void didReceiveCORSRedirectResponse(Frame*, unsigned long identifier, Docume ntLoader*, const ResourceResponse&, ResourceLoader*);
290 293
291 [Timeline, Resource, Console] // Console should come AFTER Resource notifica tion, front-end relies on this. 294 [Timeline, Resource, Console] // Console should come AFTER Resource notifica tion, front-end relies on this.
292 void didFailLoading(Frame* frame, unsigned long identifier, DocumentLoader*, const ResourceError&); 295 void didFailLoading(Frame* frame, unsigned long identifier, DocumentLoader*, const ResourceError&);
293 296
294 [Resource] 297 [Resource]
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 interface InspectorCanvasInstrumentation { 523 interface InspectorCanvasInstrumentation {
521 524
522 #include "bindings/v8/ScriptObject.h" 525 #include "bindings/v8/ScriptObject.h"
523 526
524 [Canvas] 527 [Canvas]
525 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&); 528 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&);
526 529
527 [Canvas] 530 [Canvas]
528 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&); 531 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&);
529 } 532 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698