OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_TEST_UTIL_COMMON_H_ | 5 #ifndef NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ |
6 #define NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ | 6 #define NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 #include "net/spdy/spdy_protocol.h" | 33 #include "net/spdy/spdy_protocol.h" |
34 #include "net/ssl/ssl_config_service_defaults.h" | 34 #include "net/ssl/ssl_config_service_defaults.h" |
35 #include "net/url_request/url_request_context.h" | 35 #include "net/url_request/url_request_context.h" |
36 #include "net/url_request/url_request_context_storage.h" | 36 #include "net/url_request/url_request_context_storage.h" |
37 #include "testing/gtest/include/gtest/gtest.h" | 37 #include "testing/gtest/include/gtest/gtest.h" |
38 | 38 |
39 class GURL; | 39 class GURL; |
40 | 40 |
41 namespace net { | 41 namespace net { |
42 | 42 |
43 class NetLogWithSource; | |
44 class CTVerifier; | 43 class CTVerifier; |
45 class CTPolicyEnforcer; | 44 class CTPolicyEnforcer; |
46 class HostPortPair; | 45 class HostPortPair; |
| 46 class NetLogWithSource; |
47 class SpdySession; | 47 class SpdySession; |
48 class SpdySessionKey; | 48 class SpdySessionKey; |
49 class SpdySessionPool; | 49 class SpdySessionPool; |
50 class SpdyStream; | 50 class SpdyStream; |
51 class SpdyStreamRequest; | 51 class SpdyStreamRequest; |
52 | 52 |
53 // Default upload data used by both, mock objects and framer when creating | 53 // Default upload data used by both, mock objects and framer when creating |
54 // data frames. | 54 // data frames. |
55 const char kDefaultUrl[] = "https://www.example.org/"; | 55 const char kDefaultUrl[] = "https://www.example.org/"; |
56 const char kUploadData[] = "hello!"; | 56 const char kUploadData[] = "hello!"; |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 | 517 |
518 GURL default_url_; | 518 GURL default_url_; |
519 | 519 |
520 // Track a FIFO list of the stream_id of all created requests by priority. | 520 // Track a FIFO list of the stream_id of all created requests by priority. |
521 std::map<int, std::vector<int>> priority_to_stream_id_list_; | 521 std::map<int, std::vector<int>> priority_to_stream_id_list_; |
522 }; | 522 }; |
523 | 523 |
524 } // namespace net | 524 } // namespace net |
525 | 525 |
526 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ | 526 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ |
OLD | NEW |