| Index: net/quic/quic_flow_controller.cc
|
| diff --git a/net/quic/quic_flow_controller.cc b/net/quic/quic_flow_controller.cc
|
| index 1fedd06aa813c7dfbf6f711fc0702d91ce6068e7..d95541edbcc98ddda7ded242ec74637d27954b24 100644
|
| --- a/net/quic/quic_flow_controller.cc
|
| +++ b/net/quic/quic_flow_controller.cc
|
| @@ -11,17 +11,18 @@
|
|
|
| namespace net {
|
|
|
| -#define ENDPOINT (is_server_ ? "Server: " : " Client: ")
|
| +#define ENDPOINT \
|
| + (perspective_ == Perspective::IS_SERVER ? "Server: " : "Client: ")
|
|
|
| QuicFlowController::QuicFlowController(QuicConnection* connection,
|
| QuicStreamId id,
|
| - bool is_server,
|
| + Perspective perspective,
|
| QuicStreamOffset send_window_offset,
|
| QuicStreamOffset receive_window_offset,
|
| QuicByteCount max_receive_window)
|
| : connection_(connection),
|
| id_(id),
|
| - is_server_(is_server),
|
| + perspective_(perspective),
|
| bytes_consumed_(0),
|
| highest_received_byte_offset_(0),
|
| bytes_sent_(0),
|
|
|