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

Side by Side Diff: webkit/api/public/WebURLLoaderClient.h

Issue 295041: DevTools: report correct content length for resources (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | « chrome/test/data/devtools/image.png ('k') | webkit/api/src/ResourceHandle.cpp » ('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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // Called to report upload progress. The bytes reported correspond to 47 // Called to report upload progress. The bytes reported correspond to
48 // the HTTP message body. 48 // the HTTP message body.
49 virtual void didSendData( 49 virtual void didSendData(
50 WebURLLoader*, unsigned long long bytesSent, unsigned long long totalBytesToBeSent) = 0; 50 WebURLLoader*, unsigned long long bytesSent, unsigned long long totalBytesToBeSent) = 0;
51 51
52 // Called when response headers are received. 52 // Called when response headers are received.
53 virtual void didReceiveResponse(WebURLLoader*, const WebURLResponse&) = 0; 53 virtual void didReceiveResponse(WebURLLoader*, const WebURLResponse&) = 0;
54 54
55 // Called when a chunk of response data is received. 55 // Called when a chunk of response data is received.
56 virtual void didReceiveData(WebURLLoader*, const char* data, int dataLength, long long totalDataLength) = 0; 56 virtual void didReceiveData(WebURLLoader*, const char* data, int dataLength) = 0;
57 57
58 // Called when the load completes successfully. 58 // Called when the load completes successfully.
59 virtual void didFinishLoading(WebURLLoader*) = 0; 59 virtual void didFinishLoading(WebURLLoader*) = 0;
60 60
61 // Called when the load completes with an error. 61 // Called when the load completes with an error.
62 virtual void didFail(WebURLLoader*, const WebURLError&) = 0; 62 virtual void didFail(WebURLLoader*, const WebURLError&) = 0;
63 63
64 protected: 64 protected:
65 ~WebURLLoaderClient() { } 65 ~WebURLLoaderClient() { }
66 }; 66 };
67 67
68 } // namespace WebKit 68 } // namespace WebKit
69 69
70 #endif 70 #endif
OLDNEW
« no previous file with comments | « chrome/test/data/devtools/image.png ('k') | webkit/api/src/ResourceHandle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698