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

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

Issue 2835123005: Send the decoded size when response completed and stop summing in ResourceLoader::DidReceiveData() (Closed)
Patch Set: Created 3 years, 8 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 // 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 12 matching lines...) Expand all
23 virtual ~WebURLLoaderTestDelegate(); 23 virtual ~WebURLLoaderTestDelegate();
24 24
25 virtual void DidReceiveResponse(WebURLLoaderClient* original_client, 25 virtual void DidReceiveResponse(WebURLLoaderClient* original_client,
26 const WebURLResponse&); 26 const WebURLResponse&);
27 virtual void DidReceiveData(WebURLLoaderClient* original_client, 27 virtual void DidReceiveData(WebURLLoaderClient* original_client,
28 const char* data, 28 const char* data,
29 int data_length); 29 int data_length);
30 virtual void DidFail(WebURLLoaderClient* original_client, 30 virtual void DidFail(WebURLLoaderClient* original_client,
31 const WebURLError&, 31 const WebURLError&,
32 int64_t total_encoded_data_length, 32 int64_t total_encoded_data_length,
33 int64_t total_encoded_body_length); 33 int64_t total_encoded_body_length,
34 int64_t total_decoded_body_length);
34 virtual void DidFinishLoading(WebURLLoaderClient* original_client, 35 virtual void DidFinishLoading(WebURLLoaderClient* original_client,
35 double finish_time, 36 double finish_time,
36 int64_t total_encoded_data_length, 37 int64_t total_encoded_data_length,
37 int64_t total_encoded_body_length); 38 int64_t total_encoded_body_length,
39 int64_t total_decoded_body_length);
38 }; 40 };
39 41
40 } // namespace blink 42 } // namespace blink
41 43
42 #endif 44 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebURLLoaderClient.h ('k') | third_party/WebKit/public/platform/WebURLResponse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698