summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_session_spdy3_unittest.cc
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-28 06:51:29 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-28 06:51:29 +0000
commit33c797bc9ed66302ca00eaf0eed00ab84ba13456 (patch)
tree4aa7cea0fb73a051d45f075f264e8e0375561f42 /net/spdy/spdy_session_spdy3_unittest.cc
parentac5c0debf658799ad11bb8cf23dad31d024196ee (diff)
downloadchromium_src-33c797bc9ed66302ca00eaf0eed00ab84ba13456.zip
chromium_src-33c797bc9ed66302ca00eaf0eed00ab84ba13456.tar.gz
chromium_src-33c797bc9ed66302ca00eaf0eed00ab84ba13456.tar.bz2
Rename GetControlFrameMinimumSize() to GetControlFrameHeaderSize() in SpdyFramer
This lands server change 43174857. Review URL: https://chromiumcodereview.appspot.com/12381008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185170 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_session_spdy3_unittest.cc')
-rw-r--r--net/spdy/spdy_session_spdy3_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/spdy/spdy_session_spdy3_unittest.cc b/net/spdy/spdy_session_spdy3_unittest.cc
index 1b4b599..e7e2d18 100644
--- a/net/spdy/spdy_session_spdy3_unittest.cc
+++ b/net/spdy/spdy_session_spdy3_unittest.cc
@@ -1771,7 +1771,7 @@ TEST_F(SpdySessionSpdy3Test, ReadDataWithoutYielding) {
// Build buffer of size kMaxReadBytes / 4 (-spdy_data_frame_size).
ASSERT_EQ(32 * 1024, kMaxReadBytes);
const int kPayloadSize =
- kMaxReadBytes / 4 - framer.GetControlFrameMinimumSize();
+ kMaxReadBytes / 4 - framer.GetControlFrameHeaderSize();
TestDataStream test_stream;
scoped_refptr<net::IOBuffer> payload(new net::IOBuffer(kPayloadSize));
char* payload_data = payload->data();
@@ -1862,7 +1862,7 @@ TEST_F(SpdySessionSpdy3Test, TestYieldingDuringReadData) {
// Build buffer of size kMaxReadBytes / 4 (-spdy_data_frame_size).
ASSERT_EQ(32 * 1024, kMaxReadBytes);
const int kPayloadSize =
- kMaxReadBytes / 4 - framer.GetControlFrameMinimumSize();
+ kMaxReadBytes / 4 - framer.GetControlFrameHeaderSize();
TestDataStream test_stream;
scoped_refptr<net::IOBuffer> payload(new net::IOBuffer(kPayloadSize));
char* payload_data = payload->data();
@@ -1962,7 +1962,7 @@ TEST_F(SpdySessionSpdy3Test, TestYieldingDuringAsyncReadData) {
ASSERT_EQ(32 * 1024, kMaxReadBytes);
TestDataStream test_stream;
const int kEightKPayloadSize =
- kMaxReadBytes / 4 - framer.GetControlFrameMinimumSize();
+ kMaxReadBytes / 4 - framer.GetControlFrameHeaderSize();
scoped_refptr<net::IOBuffer> eightk_payload(
new net::IOBuffer(kEightKPayloadSize));
char* eightk_payload_data = eightk_payload->data();