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

Side by Side Diff: third_party/WebKit/public/platform/WebURLLoaderTestDelegate.h

Issue 2510333002: Send encoded_body_length to renderer when response completed (2/3) (Closed)
Patch Set: rebase Created 4 years 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
« no previous file with comments | « third_party/WebKit/public/platform/WebURLLoaderClient.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebURLLoaderTestDelegate_h 5 #ifndef WebURLLoaderTestDelegate_h
6 #define WebURLLoaderTestDelegate_h 6 #define WebURLLoaderTestDelegate_h
7 7
8 #include "public/platform/WebCommon.h" 8 #include "public/platform/WebCommon.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 16 matching lines...) Expand all
27 WebURLLoader*, 27 WebURLLoader*,
28 const WebURLResponse&); 28 const WebURLResponse&);
29 virtual void didReceiveData(WebURLLoaderClient* originalClient, 29 virtual void didReceiveData(WebURLLoaderClient* originalClient,
30 WebURLLoader*, 30 WebURLLoader*,
31 const char* data, 31 const char* data,
32 int dataLength, 32 int dataLength,
33 int encodedDataLength); 33 int encodedDataLength);
34 virtual void didFail(WebURLLoaderClient* originalClient, 34 virtual void didFail(WebURLLoaderClient* originalClient,
35 WebURLLoader*, 35 WebURLLoader*,
36 const WebURLError&, 36 const WebURLError&,
37 int64_t totalEncodedDataLength); 37 int64_t totalEncodedDataLength,
38 int64_t totalEncodedBodyLength);
38 virtual void didFinishLoading(WebURLLoaderClient* originalClient, 39 virtual void didFinishLoading(WebURLLoaderClient* originalClient,
39 WebURLLoader*, 40 WebURLLoader*,
40 double finishTime, 41 double finishTime,
41 int64_t totalEncodedDataLength); 42 int64_t totalEncodedDataLength,
43 int64_t totalEncodedBodyLength);
42 }; 44 };
43 45
44 } // namespace blink 46 } // namespace blink
45 47
46 #endif 48 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebURLLoaderClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698