OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "net/spdy/spdy_stream.h" | 5 #include "net/spdy/spdy_stream.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/location.h" | 12 #include "base/location.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/metrics/histogram_macros.h" | 14 #include "base/metrics/histogram_macros.h" |
15 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
16 #include "base/strings/string_number_conversions.h" | 16 #include "base/strings/string_number_conversions.h" |
17 #include "base/strings/string_util.h" | 17 #include "base/strings/string_util.h" |
18 #include "base/strings/stringprintf.h" | 18 #include "base/strings/stringprintf.h" |
19 #include "base/threading/thread_task_runner_handle.h" | 19 #include "base/threading/thread_task_runner_handle.h" |
20 #include "base/values.h" | 20 #include "base/values.h" |
| 21 #include "net/log/net_log.h" |
| 22 #include "net/log/net_log_capture_mode.h" |
21 #include "net/log/net_log_event_type.h" | 23 #include "net/log/net_log_event_type.h" |
22 #include "net/spdy/spdy_buffer_producer.h" | 24 #include "net/spdy/spdy_buffer_producer.h" |
23 #include "net/spdy/spdy_http_utils.h" | 25 #include "net/spdy/spdy_http_utils.h" |
24 #include "net/spdy/spdy_session.h" | 26 #include "net/spdy/spdy_session.h" |
25 | 27 |
26 namespace net { | 28 namespace net { |
27 | 29 |
28 namespace { | 30 namespace { |
29 | 31 |
30 std::unique_ptr<base::Value> NetLogSpdyStreamErrorCallback( | 32 std::unique_ptr<base::Value> NetLogSpdyStreamErrorCallback( |
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
935 description = base::StringPrintf("Unknown state 0x%08X (%u)", state, | 937 description = base::StringPrintf("Unknown state 0x%08X (%u)", state, |
936 state); | 938 state); |
937 break; | 939 break; |
938 } | 940 } |
939 return description; | 941 return description; |
940 } | 942 } |
941 | 943 |
942 #undef STATE_CASE | 944 #undef STATE_CASE |
943 | 945 |
944 } // namespace net | 946 } // namespace net |
OLD | NEW |