OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 29 matching lines...) Expand all Loading... |
40 | 40 |
41 onTransferFinished: function() { }, | 41 onTransferFinished: function() { }, |
42 | 42 |
43 /** | 43 /** |
44 * @param {!WebInspector.ChunkedReader} reader | 44 * @param {!WebInspector.ChunkedReader} reader |
45 */ | 45 */ |
46 onChunkTransferred: function(reader) { }, | 46 onChunkTransferred: function(reader) { }, |
47 | 47 |
48 /** | 48 /** |
49 * @param {!WebInspector.ChunkedReader} reader | 49 * @param {!WebInspector.ChunkedReader} reader |
| 50 * @param {!Event} event |
50 */ | 51 */ |
51 onError: function(reader, event) { }, | 52 onError: function(reader, event) { }, |
52 } | 53 } |
53 | 54 |
54 /** | 55 /** |
55 * @interface | 56 * @interface |
56 */ | 57 */ |
57 WebInspector.OutputStream = function() | 58 WebInspector.OutputStream = function() |
58 { | 59 { |
59 } | 60 } |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 if (callback) | 374 if (callback) |
374 callback(this); | 375 callback(this); |
375 if (!this._writeCallbacks.length) { | 376 if (!this._writeCallbacks.length) { |
376 if (this._closed) { | 377 if (this._closed) { |
377 WebInspector.fileManager.removeEventListener(WebInspector.FileMa
nager.EventTypes.AppendedToURL, this._onAppendDone, this); | 378 WebInspector.fileManager.removeEventListener(WebInspector.FileMa
nager.EventTypes.AppendedToURL, this._onAppendDone, this); |
378 WebInspector.fileManager.close(this._fileName); | 379 WebInspector.fileManager.close(this._fileName); |
379 } | 380 } |
380 } | 381 } |
381 } | 382 } |
382 } | 383 } |
OLD | NEW |