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/quic/quic_client_session.h" | 5 #include "net/quic/quic_client_session.h" |
6 | 6 |
7 #include "base/callback_helpers.h" | 7 #include "base/callback_helpers.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
10 #include "base/metrics/sparse_histogram.h" | 10 #include "base/metrics/sparse_histogram.h" |
11 #include "base/stl_util.h" | 11 #include "base/stl_util.h" |
12 #include "base/strings/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
13 #include "base/values.h" | 13 #include "base/values.h" |
14 #include "net/base/io_buffer.h" | 14 #include "net/base/io_buffer.h" |
15 #include "net/base/net_errors.h" | 15 #include "net/base/net_errors.h" |
16 #include "net/quic/quic_connection_helper.h" | 16 #include "net/quic/quic_connection_helper.h" |
17 #include "net/quic/quic_crypto_client_stream_factory.h" | 17 #include "net/quic/quic_crypto_client_stream_factory.h" |
18 #include "net/quic/quic_stream_factory.h" | 18 #include "net/quic/quic_stream_factory.h" |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 weak_factory_.GetWeakPtr())); | 262 weak_factory_.GetWeakPtr())); |
263 } | 263 } |
264 | 264 |
265 void QuicClientSession::NotifyFactoryOfSessionClose() { | 265 void QuicClientSession::NotifyFactoryOfSessionClose() { |
266 DCHECK(stream_factory_); | 266 DCHECK(stream_factory_); |
267 // Will delete |this|. | 267 // Will delete |this|. |
268 stream_factory_->OnSessionClose(this); | 268 stream_factory_->OnSessionClose(this); |
269 } | 269 } |
270 | 270 |
271 } // namespace net | 271 } // namespace net |
OLD | NEW |