commit | 8defd7e2e8479e1d892d94e24795c9e213b5a159 | [log] [tgz] |
---|---|---|
author | bnc <bnc@google.com> | Thu Jun 04 12:03:36 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Jun 04 12:04:10 2020 -0700 |
tree | db44396335c0f1996503be98fb62a24aba05bd17 | |
parent | db672220c30968099468abbec9f3060254645900 [diff] |
Refactor QuicSpdySession::SendMaxPushId(). Lift the if(max_push_id_.has_value()) conditional from SendMaxPushId() to SendInitialData(). (It is always true when SendMaxPushId() is called from SetMaxPushId()). This makes the name SendMaxPushId() accurate (otherwise it should be called MaybeSendMaxPushId()). Also, make SendMaxPushId() private. No behavioral change. PiperOrigin-RevId: 314776010 Change-Id: I838c64b098d802122add77c0807c385b989dc474