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

Unified Diff: content/browser/byte_stream.cc

Issue 637183002: Replace FINAL and OVERRIDE with their C++11 counterparts in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch 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 | « content/browser/browser_url_handler_impl.h ('k') | content/browser/cert_store_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/byte_stream.cc
diff --git a/content/browser/byte_stream.cc b/content/browser/byte_stream.cc
index 0cd3cd8c1b21e7e3385de13aeecaa62d94705c65..669f378bbae0304cdfd2c80421f2dbb23ee832c7 100644
--- a/content/browser/byte_stream.cc
+++ b/content/browser/byte_stream.cc
@@ -57,11 +57,11 @@ class ByteStreamWriterImpl : public ByteStreamWriter {
// Overridden from ByteStreamWriter.
virtual bool Write(scoped_refptr<net::IOBuffer> buffer,
- size_t byte_count) OVERRIDE;
- virtual void Flush() OVERRIDE;
- virtual void Close(int status) OVERRIDE;
- virtual void RegisterCallback(const base::Closure& source_callback) OVERRIDE;
- virtual size_t GetTotalBufferedBytes() const OVERRIDE;
+ size_t byte_count) override;
+ virtual void Flush() override;
+ virtual void Close(int status) override;
+ virtual void RegisterCallback(const base::Closure& source_callback) override;
+ virtual size_t GetTotalBufferedBytes() const override;
// PostTask target from |ByteStreamReaderImpl::MaybeUpdateInput|.
static void UpdateWindow(scoped_refptr<LifetimeFlag> lifetime_flag,
@@ -117,9 +117,9 @@ class ByteStreamReaderImpl : public ByteStreamReader {
// Overridden from ByteStreamReader.
virtual StreamState Read(scoped_refptr<net::IOBuffer>* data,
- size_t* length) OVERRIDE;
- virtual int GetStatus() const OVERRIDE;
- virtual void RegisterCallback(const base::Closure& sink_callback) OVERRIDE;
+ size_t* length) override;
+ virtual int GetStatus() const override;
+ virtual void RegisterCallback(const base::Closure& sink_callback) override;
// PostTask target from |ByteStreamWriterImpl::Write| and
// |ByteStreamWriterImpl::Close|.
« no previous file with comments | « content/browser/browser_url_handler_impl.h ('k') | content/browser/cert_store_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698