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

Unified Diff: mojo/services/network/url_loader_impl.cc

Issue 634483003: replace OVERRIDE and FINAL with override and final in mojo/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove compiler_specific.h inclusions Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/services/network/url_loader_impl.h ('k') | mojo/services/network/web_socket_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/url_loader_impl.cc
diff --git a/mojo/services/network/url_loader_impl.cc b/mojo/services/network/url_loader_impl.cc
index b5cbd0f9c371fc931c61051ffba18feb59450264..ab2ce8bfb831d888ce33f97e56ca2bc1f83d7274 100644
--- a/mojo/services/network/url_loader_impl.cc
+++ b/mojo/services/network/url_loader_impl.cc
@@ -66,23 +66,23 @@ class UploadDataPipeElementReader : public net::UploadElementReader {
virtual ~UploadDataPipeElementReader() {}
// UploadElementReader overrides:
- virtual int Init(const net::CompletionCallback& callback) OVERRIDE {
+ virtual int Init(const net::CompletionCallback& callback) override {
offset_ = 0;
ReadDataRaw(pipe_.get(), NULL, &num_bytes_, MOJO_READ_DATA_FLAG_QUERY);
return net::OK;
}
- virtual uint64 GetContentLength() const OVERRIDE {
+ virtual uint64 GetContentLength() const override {
return num_bytes_;
}
- virtual uint64 BytesRemaining() const OVERRIDE {
+ virtual uint64 BytesRemaining() const override {
return num_bytes_ - offset_;
}
- virtual bool IsInMemory() const OVERRIDE {
+ virtual bool IsInMemory() const override {
return false;
}
virtual int Read(net::IOBuffer* buf,
int buf_length,
- const net::CompletionCallback& callback) OVERRIDE {
+ const net::CompletionCallback& callback) override {
uint32_t bytes_read =
std::min(static_cast<uint32_t>(BytesRemaining()),
static_cast<uint32_t>(buf_length));
« no previous file with comments | « mojo/services/network/url_loader_impl.h ('k') | mojo/services/network/web_socket_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698