Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / platform / exported / WebURLLoaderTestDelegate.cpp
blobc67eb28d634e0e4789dd50c948d806febcaf50c0
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
3 // found in the LICENSE file.
5 #include "config.h"
6 #include "public/platform/WebURLLoaderTestDelegate.h"
8 #include "public/platform/WebURLError.h"
9 #include "public/platform/WebURLLoader.h"
10 #include "public/platform/WebURLLoaderClient.h"
11 #include "public/platform/WebURLRequest.h"
13 namespace blink {
15 WebURLLoaderTestDelegate::WebURLLoaderTestDelegate()
19 WebURLLoaderTestDelegate::~WebURLLoaderTestDelegate()
23 void WebURLLoaderTestDelegate::didReceiveResponse(WebURLLoaderClient* originalClient, WebURLLoader* loader, const WebURLResponse& response)
25 originalClient->didReceiveResponse(loader, response);
28 void WebURLLoaderTestDelegate::didReceiveData(WebURLLoaderClient* originalClient, WebURLLoader* loader, const char* data, int dataLength, int encodedDataLength)
30 originalClient->didReceiveData(loader, data, dataLength, encodedDataLength);
33 void WebURLLoaderTestDelegate::didFail(WebURLLoaderClient* originalClient, WebURLLoader* loader, const WebURLError& error)
35 originalClient->didFail(loader, error);
38 void WebURLLoaderTestDelegate::didFinishLoading(WebURLLoaderClient* originalClient, WebURLLoader* loader, double finishTime, int64_t totalEncodedDataLength)
40 originalClient->didFinishLoading(loader, finishTime, totalEncodedDataLength);
43 } // namespace blink