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

Unified Diff: chrome/browser/net/network_stats.h

Issue 8612007: Add OVERRIDE to chrome/browser/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
Index: chrome/browser/net/network_stats.h
diff --git a/chrome/browser/net/network_stats.h b/chrome/browser/net/network_stats.h
index 10af9a3b220b5e2a5b055e25ed4899d4f50a8abd..e241899ae4793cc68666ada1ecb438bc3cf5303e 100644
--- a/chrome/browser/net/network_stats.h
+++ b/chrome/browser/net/network_stats.h
@@ -209,16 +209,16 @@ class UDPStatsClient : public NetworkStats {
// Called after host is resolved. Creates UDClientSocket and connects to the
// server. If successfully connected, then calls ConnectComplete() to start
// the echo protocol. Returns |false| if there is any error.
- virtual bool DoConnect(int result);
+ virtual bool DoConnect(int result) OVERRIDE;
// This method calls NetworkStats::ReadComplete() to verify the data and calls
// Finish() if there is an error or if read callback didn't return any data
// (|result| is less than or equal to 0).
- virtual bool ReadComplete(int result);
+ virtual bool ReadComplete(int result) OVERRIDE;
// Collects stats for UDP connectivity. This is called when all the data from
// server is read or when there is a failure during connect/read/write.
- virtual void Finish(Status status, int result);
+ virtual void Finish(Status status, int result) OVERRIDE;
};
class TCPStatsClient : public NetworkStats {
@@ -234,15 +234,15 @@ class TCPStatsClient : public NetworkStats {
// Called after host is resolved. Creates TCPClientSocket and connects to the
// server.
- virtual bool DoConnect(int result);
+ virtual bool DoConnect(int result) OVERRIDE;
// This method calls NetworkStats::ReadComplete() to verify the data and calls
// Finish() if there is an error (|result| is less than 0).
- virtual bool ReadComplete(int result);
+ virtual bool ReadComplete(int result) OVERRIDE;
// Collects stats for TCP connectivity. This is called when all the data from
// server is read or when there is a failure during connect/read/write.
- virtual void Finish(Status status, int result);
+ virtual void Finish(Status status, int result) OVERRIDE;
private:
// Callback that is called when connect is completed and calls

Powered by Google App Engine
This is Rietveld 408576698