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

Unified Diff: net/quic/quic_connection.h

Issue 1499793003: Fix classes that have too many virtuals for inline constructors. Base URL: https://chromium.googlesource.com/chromium/src.git@enable-virtuals-as-complexity
Patch Set: Finish fixing the codebase that's accessible from Linux. Created 5 years 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: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index 971ec01bcf70736ac07a93ceca89fdb7d4726af7..f47baf0ae321f87d0b0f7d10636400609903656b 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -248,6 +248,9 @@ class NET_EXPORT_PRIVATE QuicConnectionDebugVisitor
// Called when RTT may have changed, including when an RTT is read from
// the config.
virtual void OnRttChanged(QuicTime::Delta rtt) const {}
+
+ protected:
+ QuicConnectionDebugVisitor() = default;
};
class NET_EXPORT_PRIVATE QuicConnectionHelperInterface {

Powered by Google App Engine
This is Rietveld 408576698