OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_SPDY_SPDY_FRAMER_H_ | 5 #ifndef NET_SPDY_SPDY_FRAMER_H_ |
6 #define NET_SPDY_SPDY_FRAMER_H_ | 6 #define NET_SPDY_SPDY_FRAMER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #ifdef _WIN32 | 9 #ifdef _WIN32 |
10 #include <winsock2.h> | 10 #include <winsock2.h> |
11 #else | 11 #else |
12 #include <arpa/inet.h> | 12 #include <arpa/inet.h> |
13 #endif | 13 #endif |
14 #include <list> | 14 #include <list> |
15 #include <map> | 15 #include <map> |
16 #include <string> | 16 #include <string> |
17 #include <utility> | 17 #include <utility> |
18 | 18 |
19 #include "base/basictypes.h" | 19 #include "base/basictypes.h" |
20 #include "base/gtest_prod_util.h" | 20 #include "base/gtest_prod_util.h" |
21 #include "base/logging.h" | |
22 #include "base/scoped_ptr.h" | 21 #include "base/scoped_ptr.h" |
23 #include "net/spdy/spdy_protocol.h" | 22 #include "net/spdy/spdy_protocol.h" |
24 | 23 |
25 typedef struct z_stream_s z_stream; // Forward declaration for zlib. | 24 typedef struct z_stream_s z_stream; // Forward declaration for zlib. |
26 | 25 |
27 namespace net { | 26 namespace net { |
28 class HttpNetworkLayer; | 27 class HttpNetworkLayer; |
29 class HttpNetworkTransactionTest; | 28 class HttpNetworkTransactionTest; |
30 class SpdyNetworkTransactionTest; | 29 class SpdyNetworkTransactionTest; |
31 class SpdySessionTest; | 30 class SpdySessionTest; |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 | 328 |
330 SpdyFramerVisitorInterface* visitor_; | 329 SpdyFramerVisitorInterface* visitor_; |
331 | 330 |
332 static bool compression_default_; | 331 static bool compression_default_; |
333 static int spdy_version_; | 332 static int spdy_version_; |
334 }; | 333 }; |
335 | 334 |
336 } // namespace spdy | 335 } // namespace spdy |
337 | 336 |
338 #endif // NET_SPDY_SPDY_FRAMER_H_ | 337 #endif // NET_SPDY_SPDY_FRAMER_H_ |
OLD | NEW |