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

Unified Diff: net/spdy/spdy_protocol_test.cc

Issue 246073007: SPDY & HPACK: Land recent internal changes (through 65328503) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on upstream change: Expanded FRAME_TOO_LARGE/FRAME_SIZE_ERROR comment. Created 6 years, 8 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/spdy/spdy_protocol.cc ('k') | net/spdy/spdy_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_protocol_test.cc
diff --git a/net/spdy/spdy_protocol_test.cc b/net/spdy/spdy_protocol_test.cc
index 59323287d448907208cbe946ba9ce679527a5b6a..b15783a4853e79dcad8c3fc8ae21c870c1a4852d 100644
--- a/net/spdy/spdy_protocol_test.cc
+++ b/net/spdy/spdy_protocol_test.cc
@@ -16,8 +16,8 @@
namespace {
enum SpdyProtocolTestTypes {
- SPDY2 = 2,
- SPDY3 = 3,
+ SPDY2 = net::SPDY2,
+ SPDY3 = net::SPDY3,
};
} // namespace
@@ -28,11 +28,11 @@ class SpdyProtocolTest
: public ::testing::TestWithParam<SpdyProtocolTestTypes> {
protected:
virtual void SetUp() {
- spdy_version_ = GetParam();
+ spdy_version_ = static_cast<SpdyMajorVersion>(GetParam());
}
// Version of SPDY protocol to be used.
- int spdy_version_;
+ SpdyMajorVersion spdy_version_;
};
// All tests are run with two different SPDY versions: SPDY/2 and SPDY/3.
« no previous file with comments | « net/spdy/spdy_protocol.cc ('k') | net/spdy/spdy_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698