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

Unified Diff: google_apis/gcm/base/socket_stream.h

Issue 649283003: Standardize usage of virtual/override/final in google_apis/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « google_apis/gcm/base/fake_encryptor.h ('k') | google_apis/gcm/engine/checkin_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/base/socket_stream.h
diff --git a/google_apis/gcm/base/socket_stream.h b/google_apis/gcm/base/socket_stream.h
index 4a490f29a18e3a2e199741a441f691dce7ff860e..527056adbbde7cc2bcc753403c650945c2fb387d 100644
--- a/google_apis/gcm/base/socket_stream.h
+++ b/google_apis/gcm/base/socket_stream.h
@@ -63,13 +63,13 @@ class GCM_EXPORT SocketInputStream
// |socket| should already be connected.
explicit SocketInputStream(net::StreamSocket* socket);
- virtual ~SocketInputStream();
+ ~SocketInputStream() override;
// ZeroCopyInputStream implementation.
- virtual bool Next(const void** data, int* size) override;
- virtual void BackUp(int count) override;
- virtual bool Skip(int count) override; // Not implemented.
- virtual int64 ByteCount() const override;
+ bool Next(const void** data, int* size) override;
+ void BackUp(int count) override;
+ bool Skip(int count) override; // Not implemented.
+ int64 ByteCount() const override;
// The remaining amount of valid data available to be read.
int UnreadByteCount() const;
@@ -159,12 +159,12 @@ class GCM_EXPORT SocketOutputStream
// |socket| should already be connected.
explicit SocketOutputStream(net::StreamSocket* socket);
- virtual ~SocketOutputStream();
+ ~SocketOutputStream() override;
// ZeroCopyOutputStream implementation.
- virtual bool Next(void** data, int* size) override;
- virtual void BackUp(int count) override;
- virtual int64 ByteCount() const override;
+ bool Next(void** data, int* size) override;
+ void BackUp(int count) override;
+ int64 ByteCount() const override;
// Writes the buffer into the Socket.
net::Error Flush(const base::Closure& callback);
« no previous file with comments | « google_apis/gcm/base/fake_encryptor.h ('k') | google_apis/gcm/engine/checkin_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698