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

Side by Side Diff: public/platform/WebURLLoaderClient.h

Issue 23567013: Remove didDownloadData stub added for waiting on chromium changes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // the HTTP message body. 49 // the HTTP message body.
50 virtual void didSendData( 50 virtual void didSendData(
51 WebURLLoader*, unsigned long long bytesSent, unsigned long long totalByt esToBeSent) { } 51 WebURLLoader*, unsigned long long bytesSent, unsigned long long totalByt esToBeSent) { }
52 52
53 // Called when response headers are received. 53 // Called when response headers are received.
54 virtual void didReceiveResponse(WebURLLoader*, const WebURLResponse&) { } 54 virtual void didReceiveResponse(WebURLLoader*, const WebURLResponse&) { }
55 55
56 // Called when a chunk of response data is downloaded. This is only called 56 // Called when a chunk of response data is downloaded. This is only called
57 // if WebURLRequest's downloadToFile flag was set to true. 57 // if WebURLRequest's downloadToFile flag was set to true.
58 virtual void didDownloadData(WebURLLoader*, int dataLength, int encodedDataL ength) { } 58 virtual void didDownloadData(WebURLLoader*, int dataLength, int encodedDataL ength) { }
59 // FIXME: Remove this stub function when Chrome-side change propagating the
60 // encodedDataLength is landed.
61 virtual void didDownloadData(WebURLLoader* loader, int dataLength) { didDown loadData(loader, dataLength, -1); }
62 59
63 // Called when a chunk of response data is received. 60 // Called when a chunk of response data is received.
64 virtual void didReceiveData(WebURLLoader*, const char* data, int dataLength, int encodedDataLength) { } 61 virtual void didReceiveData(WebURLLoader*, const char* data, int dataLength, int encodedDataLength) { }
65 62
66 // Called when a chunk of renderer-generated metadata is received from the c ache. 63 // Called when a chunk of renderer-generated metadata is received from the c ache.
67 virtual void didReceiveCachedMetadata(WebURLLoader*, const char* data, int d ataLength) { } 64 virtual void didReceiveCachedMetadata(WebURLLoader*, const char* data, int d ataLength) { }
68 65
69 // Called when the load completes successfully. 66 // Called when the load completes successfully.
70 virtual void didFinishLoading(WebURLLoader*, double finishTime) { } 67 virtual void didFinishLoading(WebURLLoader*, double finishTime) { }
71 68
72 // Called when the load completes with an error. 69 // Called when the load completes with an error.
73 virtual void didFail(WebURLLoader*, const WebURLError&) { } 70 virtual void didFail(WebURLLoader*, const WebURLError&) { }
74 71
75 protected: 72 protected:
76 virtual ~WebURLLoaderClient() { } 73 virtual ~WebURLLoaderClient() { }
77 }; 74 };
78 75
79 } // namespace WebKit 76 } // namespace WebKit
80 77
81 #endif 78 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698