| Index: public/platform/WebDataConsumerHandle.h
|
| diff --git a/public/platform/WebDataConsumerHandle.h b/public/platform/WebDataConsumerHandle.h
|
| index cba7e9746f4ebf8ed6cb0a4fd84bdc97ece00f89..ae26723f53438e2a5a0c6c6abba1fa37702e321e 100644
|
| --- a/public/platform/WebDataConsumerHandle.h
|
| +++ b/public/platform/WebDataConsumerHandle.h
|
| @@ -120,39 +120,6 @@ private:
|
| BLINK_ASSERT_NOT_REACHED();
|
| return nullptr;
|
| }
|
| -
|
| - // Below are deprecated functions that will be removed shortly. Use Reader
|
| - // instead.
|
| -public:
|
| - // Note: read / beginRead / endRead / unregisterClient must not be called
|
| - // when a client is regsitered. They must be called on the thread on which
|
| - // registerClient is called. registerClient must not be called when a client
|
| - // is already registered.
|
| -
|
| - // Reads data into |data| up to |size| bytes. The actual read size will be
|
| - // stored in |*readSize|. This function cannot be called when a two-phase
|
| - // read is in progress.
|
| - // Returns Done when it reaches to the end of the data.
|
| - virtual Result read(void* data, size_t /* size */, Flags, size_t* readSize) { return UnexpectedError; }
|
| -
|
| - // Begins a two-phase read. On success, the function stores a buffer that
|
| - // contains the read data of length |*available| into |*buffer|.
|
| - // Returns Done when it reaches to the end of the data.
|
| - // On fail, you don't have to (and should not) call endRead, because the
|
| - // read session implicitly ends in that case.
|
| - virtual Result beginRead(const void** buffer, Flags, size_t* available) { return UnexpectedError; }
|
| -
|
| - // Ends a two-phase read.
|
| - // |readSize| indicates the actual read size.
|
| - virtual Result endRead(size_t readSize) { return UnexpectedError; }
|
| -
|
| - // Registers |client| to this handle. The client must not be null and must
|
| - // be valid until it is unregistered (or the handle is destructed).
|
| - // Only one registration can be made for a handle at a time.
|
| - virtual void registerClient(Client* /* client */) { }
|
| -
|
| - // Unregisters |client| from this handle.
|
| - virtual void unregisterClient() { }
|
| };
|
|
|
| } // namespace blink
|
|
|