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

Side by Side Diff: third_party/WebKit/public/web/WebAssociatedURLLoaderClient.h

Issue 2399463007: AssociatedURLLoader shouldn't derive from WebURLLoader (Closed)
Patch Set: Rebase Created 4 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
OLDNEW
(Empty)
1 // Copyright 2016 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.
4
5 #ifndef WebAssociatedURLLoaderClient_h
6 #define WebAssociatedURLLoaderClient_h
7
8 namespace blink {
9
10 class WebURLRequest;
11 class WebURLResponse;
12 struct WebURLError;
13
14 class WebAssociatedURLLoaderClient {
15 public:
16 virtual bool willFollowRedirect(const WebURLRequest& newRequest,
17 const WebURLResponse& redirectResponse) {
18 return true;
19 }
20 virtual void didSendData(unsigned long long bytesSent,
21 unsigned long long totalBytesToBeSent) {}
22 virtual void didReceiveResponse(const WebURLResponse&) {}
23 virtual void didDownloadData(int dataLength) {}
24 virtual void didReceiveData(const char* data, int dataLength) {}
25 virtual void didReceiveCachedMetadata(const char* data, int dataLength) {}
26 virtual void didFinishLoading(double finishTime) {}
27 virtual void didFail(const WebURLError&) {}
28
29 protected:
30 virtual ~WebAssociatedURLLoaderClient() {}
31 };
32
33 } // namespace blink
34
35 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebAssociatedURLLoader.h ('k') | third_party/WebKit/public/web/WebAssociatedURLLoaderOptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698