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

Unified Diff: net/quic/test_tools/simple_quic_framer.cc

Issue 1009543004: Create a Perspective enum to use instead of a bool is_server to improve (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added NET_EXPORT_PRIVATE to fix compiler error Created 5 years, 9 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 | « net/quic/test_tools/quic_test_utils.cc ('k') | net/tools/quic/quic_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/simple_quic_framer.cc
diff --git a/net/quic/test_tools/simple_quic_framer.cc b/net/quic/test_tools/simple_quic_framer.cc
index c6c7b5f82885df8624d3e72a9502b728be4f3af6..2e9e3737f16b26b85aedfb0dd45cf2b60f632f0d 100644
--- a/net/quic/test_tools/simple_quic_framer.cc
+++ b/net/quic/test_tools/simple_quic_framer.cc
@@ -165,11 +165,13 @@ class SimpleFramerVisitor : public QuicFramerVisitorInterface {
};
SimpleQuicFramer::SimpleQuicFramer()
- : framer_(QuicSupportedVersions(), QuicTime::Zero(), true) {
+ : framer_(QuicSupportedVersions(),
+ QuicTime::Zero(),
+ Perspective::IS_SERVER) {
}
SimpleQuicFramer::SimpleQuicFramer(const QuicVersionVector& supported_versions)
- : framer_(supported_versions, QuicTime::Zero(), true) {
+ : framer_(supported_versions, QuicTime::Zero(), Perspective::IS_SERVER) {
}
SimpleQuicFramer::~SimpleQuicFramer() {
« no previous file with comments | « net/quic/test_tools/quic_test_utils.cc ('k') | net/tools/quic/quic_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698