| Index: net/filter/mock_filter_context.h
|
| diff --git a/net/filter/mock_filter_context.h b/net/filter/mock_filter_context.h
|
| index bdef81291fdd355ac36443f2ae166339df419a1e..8150e8b2c4be4d24345aa9875e8f942f8786ddeb 100644
|
| --- a/net/filter/mock_filter_context.h
|
| +++ b/net/filter/mock_filter_context.h
|
| @@ -18,7 +18,7 @@ class URLRequestContext;
|
| class MockFilterContext : public FilterContext {
|
| public:
|
| MockFilterContext();
|
| - virtual ~MockFilterContext();
|
| + ~MockFilterContext() override;
|
|
|
| void SetMimeType(const std::string& mime_type) { mime_type_ = mime_type; }
|
| void SetURL(const GURL& gurl) { gurl_ = gurl; }
|
| @@ -41,37 +41,37 @@ class MockFilterContext : public FilterContext {
|
| // of those interfaces as coding errors.
|
| void NukeUnstableInterfaces();
|
|
|
| - virtual bool GetMimeType(std::string* mime_type) const override;
|
| + bool GetMimeType(std::string* mime_type) const override;
|
|
|
| // What URL was used to access this data?
|
| // Return false if gurl is not present.
|
| - virtual bool GetURL(GURL* gurl) const override;
|
| + bool GetURL(GURL* gurl) const override;
|
|
|
| // What Content-Disposition did the server supply for this data?
|
| // Return false if Content-Disposition was not present.
|
| - virtual bool GetContentDisposition(std::string* disposition) const override;
|
| + bool GetContentDisposition(std::string* disposition) const override;
|
|
|
| // What was this data requested from a server?
|
| - virtual base::Time GetRequestTime() const override;
|
| + base::Time GetRequestTime() const override;
|
|
|
| // Is data supplied from cache, or fresh across the net?
|
| - virtual bool IsCachedContent() const override;
|
| + bool IsCachedContent() const override;
|
|
|
| // Is this a download?
|
| - virtual bool IsDownload() const override;
|
| + bool IsDownload() const override;
|
|
|
| // Was this data flagged as a response to a request with an SDCH dictionary?
|
| - virtual bool SdchResponseExpected() const override;
|
| + bool SdchResponseExpected() const override;
|
|
|
| // How many bytes were fed to filter(s) so far?
|
| - virtual int64 GetByteReadCount() const override;
|
| + int64 GetByteReadCount() const override;
|
|
|
| - virtual int GetResponseCode() const override;
|
| + int GetResponseCode() const override;
|
|
|
| // The URLRequestContext associated with the request.
|
| - virtual const URLRequestContext* GetURLRequestContext() const override;
|
| + const URLRequestContext* GetURLRequestContext() const override;
|
|
|
| - virtual void RecordPacketStats(StatisticSelector statistic) const override {}
|
| + void RecordPacketStats(StatisticSelector statistic) const override {}
|
|
|
| private:
|
| int buffer_size_;
|
|
|