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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebURLLoaderTestDelegate.cpp

Issue 2105713002: Render process changes for ResourceTiming sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@resource_timing_sizes_browser_process
Patch Set: Fix lint error: ASSERT -> DCHECK Created 4 years, 5 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 #include "public/platform/WebURLLoaderTestDelegate.h" 5 #include "public/platform/WebURLLoaderTestDelegate.h"
6 6
7 #include "public/platform/WebURLError.h" 7 #include "public/platform/WebURLError.h"
8 #include "public/platform/WebURLLoader.h" 8 #include "public/platform/WebURLLoader.h"
9 #include "public/platform/WebURLLoaderClient.h" 9 #include "public/platform/WebURLLoaderClient.h"
10 #include "public/platform/WebURLRequest.h" 10 #include "public/platform/WebURLRequest.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 WebURLLoaderTestDelegate::WebURLLoaderTestDelegate() 14 WebURLLoaderTestDelegate::WebURLLoaderTestDelegate()
15 { 15 {
16 } 16 }
17 17
18 WebURLLoaderTestDelegate::~WebURLLoaderTestDelegate() 18 WebURLLoaderTestDelegate::~WebURLLoaderTestDelegate()
19 { 19 {
20 } 20 }
21 21
22 void WebURLLoaderTestDelegate::didReceiveResponse(WebURLLoaderClient* originalCl ient, WebURLLoader* loader, const WebURLResponse& response) 22 void WebURLLoaderTestDelegate::didReceiveResponse(WebURLLoaderClient* originalCl ient, WebURLLoader* loader, const WebURLResponse& response)
23 { 23 {
24 originalClient->didReceiveResponse(loader, response); 24 originalClient->didReceiveResponse(loader, response);
25 } 25 }
26 26
27 void WebURLLoaderTestDelegate::didReceiveData(WebURLLoaderClient* originalClient , WebURLLoader* loader, const char* data, int dataLength, int encodedDataLength) 27 void WebURLLoaderTestDelegate::didReceiveData(WebURLLoaderClient* originalClient , WebURLLoader* loader, const char* data, int dataLength, int encodedDataLength)
28 { 28 {
29 originalClient->didReceiveData(loader, data, dataLength, encodedDataLength); 29 originalClient->didReceiveData(loader, data, dataLength, encodedDataLength, dataLength);
30 } 30 }
31 31
32 void WebURLLoaderTestDelegate::didFail(WebURLLoaderClient* originalClient, WebUR LLoader* loader, const WebURLError& error) 32 void WebURLLoaderTestDelegate::didFail(WebURLLoaderClient* originalClient, WebUR LLoader* loader, const WebURLError& error)
33 { 33 {
34 originalClient->didFail(loader, error); 34 originalClient->didFail(loader, error);
35 } 35 }
36 36
37 void WebURLLoaderTestDelegate::didFinishLoading(WebURLLoaderClient* originalClie nt, WebURLLoader* loader, double finishTime, int64_t totalEncodedDataLength) 37 void WebURLLoaderTestDelegate::didFinishLoading(WebURLLoaderClient* originalClie nt, WebURLLoader* loader, double finishTime, int64_t totalEncodedDataLength)
38 { 38 {
39 originalClient->didFinishLoading(loader, finishTime, totalEncodedDataLength) ; 39 originalClient->didFinishLoading(loader, finishTime, totalEncodedDataLength) ;
40 } 40 }
41 41
42 } // namespace blink 42 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698