// Takes ownership of |source|.
explicit ReadaheadFileStreamReader(storage::FileStreamReader* source);
- virtual ~ReadaheadFileStreamReader();
+ ~ReadaheadFileStreamReader() override;
// FileStreamReader overrides.
- virtual int Read(net::IOBuffer* buf, int buf_len,
- const net::CompletionCallback& callback) OVERRIDE;
- virtual int64 GetLength(
- const net::Int64CompletionCallback& callback) OVERRIDE;
+ int Read(net::IOBuffer* buf,
+ int buf_len,
+ const net::CompletionCallback& callback) override;
+ int64 GetLength(const net::Int64CompletionCallback& callback) override;
private:
// Returns the number of bytes consumed from the internal cache into |sink|.