summaryrefslogtreecommitdiffstats
path: root/net/tools/balsa/simple_buffer.h
diff options
context:
space:
mode:
authormostynb <mostynb@opera.com>2014-10-09 04:01:13 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-09 11:01:43 +0000
commitba063d6038f4e0df5188cdd46589c62388d8e06b (patch)
tree5dd4b0be08ab43875cb16ed59f4c2c281f6c7412 /net/tools/balsa/simple_buffer.h
parentc239532659a8ac3422094ffbd9f90e38abe0bf48 (diff)
downloadchromium_src-ba063d6038f4e0df5188cdd46589c62388d8e06b.zip
chromium_src-ba063d6038f4e0df5188cdd46589c62388d8e06b.tar.gz
chromium_src-ba063d6038f4e0df5188cdd46589c62388d8e06b.tar.bz2
replace OVERRIDE and FINAL with override and final in net/
BUG=417463 Review URL: https://codereview.chromium.org/623213004 Cr-Commit-Position: refs/heads/master@{#298844}
Diffstat (limited to 'net/tools/balsa/simple_buffer.h')
-rw-r--r--net/tools/balsa/simple_buffer.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/net/tools/balsa/simple_buffer.h b/net/tools/balsa/simple_buffer.h
index a550617..d58894e 100644
--- a/net/tools/balsa/simple_buffer.h
+++ b/net/tools/balsa/simple_buffer.h
@@ -32,32 +32,32 @@ class SimpleBuffer : public BufferInterface {
// The following functions all override pure virtual functions
// in BufferInterface. See buffer_interface.h for a description
// of what they do.
- virtual int ReadableBytes() const OVERRIDE;
- virtual int BufferSize() const OVERRIDE;
- virtual int BytesFree() const OVERRIDE;
+ virtual int ReadableBytes() const override;
+ virtual int BufferSize() const override;
+ virtual int BytesFree() const override;
- virtual bool Empty() const OVERRIDE;
- virtual bool Full() const OVERRIDE;
+ virtual bool Empty() const override;
+ virtual bool Full() const override;
- virtual int Write(const char* bytes, int size) OVERRIDE;
+ virtual int Write(const char* bytes, int size) override;
- virtual void GetWritablePtr(char **ptr, int* size) const OVERRIDE;
+ virtual void GetWritablePtr(char **ptr, int* size) const override;
- virtual void GetReadablePtr(char **ptr, int* size) const OVERRIDE;
+ virtual void GetReadablePtr(char **ptr, int* size) const override;
- virtual int Read(char* bytes, int size) OVERRIDE;
+ virtual int Read(char* bytes, int size) override;
- virtual void Clear() OVERRIDE;
+ virtual void Clear() override;
// This can be an expensive operation: costing a new/delete, and copying of
// all existing data. Even if the existing buffer does not need to be
// resized, unread data may still need to be non-destructively copied to
// consolidate fragmented free space.
- virtual bool Reserve(int size) OVERRIDE;
+ virtual bool Reserve(int size) override;
- virtual void AdvanceReadablePtr(int amount_to_advance) OVERRIDE;
+ virtual void AdvanceReadablePtr(int amount_to_advance) override;
- virtual void AdvanceWritablePtr(int amount_to_advance) OVERRIDE;
+ virtual void AdvanceWritablePtr(int amount_to_advance) override;
void Swap(SimpleBuffer* other) {
char* tmp = storage_;