Index: net/url_request/url_request_file_job_unittest.cc |
diff --git a/net/url_request/url_request_file_job_unittest.cc b/net/url_request/url_request_file_job_unittest.cc |
index 4f7984c2b8bfb1b9ce6ed49d01874057845c4b04..ba877666dc94129e86dfb9c6b60d6bc366dbfdbe 100644 |
--- a/net/url_request/url_request_file_job_unittest.cc |
+++ b/net/url_request/url_request_file_job_unittest.cc |
@@ -41,12 +41,12 @@ class URLRequestFileJobWithCallbacks : public URLRequestFileJob { |
protected: |
virtual ~URLRequestFileJobWithCallbacks() {} |
- virtual void OnSeekComplete(int64 result) OVERRIDE { |
+ virtual void OnSeekComplete(int64 result) override { |
ASSERT_EQ(seek_position_, 0); |
seek_position_ = result; |
} |
- virtual void OnReadComplete(IOBuffer* buf, int result) OVERRIDE { |
+ virtual void OnReadComplete(IOBuffer* buf, int result) override { |
data_chunks_.push_back(std::string(buf->data(), result)); |
} |
@@ -72,7 +72,7 @@ class CallbacksJobFactory : public URLRequestJobFactory { |
virtual URLRequestJob* MaybeCreateJobWithProtocolHandler( |
const std::string& scheme, |
URLRequest* request, |
- NetworkDelegate* network_delegate) const OVERRIDE { |
+ NetworkDelegate* network_delegate) const override { |
URLRequestFileJobWithCallbacks* job = new URLRequestFileJobWithCallbacks( |
request, |
network_delegate, |
@@ -82,15 +82,15 @@ class CallbacksJobFactory : public URLRequestJobFactory { |
return job; |
} |
- virtual bool IsHandledProtocol(const std::string& scheme) const OVERRIDE { |
+ virtual bool IsHandledProtocol(const std::string& scheme) const override { |
return scheme == "file"; |
} |
- virtual bool IsHandledURL(const GURL& url) const OVERRIDE { |
+ virtual bool IsHandledURL(const GURL& url) const override { |
return IsHandledProtocol(url.scheme()); |
} |
- virtual bool IsSafeRedirectTarget(const GURL& location) const OVERRIDE { |
+ virtual bool IsSafeRedirectTarget(const GURL& location) const override { |
return false; |
} |
@@ -116,7 +116,7 @@ bool CreateTempFileWithContent(const std::string& content, |
class JobObserverImpl : public CallbacksJobFactory::JobObserver { |
public: |
- virtual void OnJobCreated(URLRequestFileJobWithCallbacks* job) OVERRIDE { |
+ virtual void OnJobCreated(URLRequestFileJobWithCallbacks* job) override { |
jobs_.push_back(job); |
} |