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 // A client specific QuicSession subclass. This class owns the underlying | 5 // A client specific QuicSession subclass. This class owns the underlying |
6 // QuicConnection and QuicConnectionHelper objects. The connection stores | 6 // QuicConnection and QuicConnectionHelper objects. The connection stores |
7 // a non-owning pointer to the helper so this session needs to ensure that | 7 // a non-owning pointer to the helper so this session needs to ensure that |
8 // the helper outlives the connection. | 8 // the helper outlives the connection. |
9 | 9 |
10 #ifndef NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_ | 10 #ifndef NET_QUIC_CHROMIUM_QUIC_CHROMIUM_CLIENT_SESSION_H_ |
11 #define NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_ | 11 #define NET_QUIC_CHROMIUM_QUIC_CHROMIUM_CLIENT_SESSION_H_ |
12 | 12 |
13 #include <stddef.h> | 13 #include <stddef.h> |
14 | 14 |
15 #include <list> | 15 #include <list> |
16 #include <memory> | 16 #include <memory> |
17 #include <set> | 17 #include <set> |
18 #include <string> | 18 #include <string> |
19 #include <vector> | 19 #include <vector> |
20 | 20 |
21 #include "base/containers/mru_cache.h" | 21 #include "base/containers/mru_cache.h" |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 // sockets_.size(). Then in MigrateSessionOnError, check to see if | 411 // sockets_.size(). Then in MigrateSessionOnError, check to see if |
412 // the current sockets_.size() == the passed in value. | 412 // the current sockets_.size() == the passed in value. |
413 bool migration_pending_; // True while migration is underway. | 413 bool migration_pending_; // True while migration is underway. |
414 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_; | 414 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_; |
415 | 415 |
416 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession); | 416 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession); |
417 }; | 417 }; |
418 | 418 |
419 } // namespace net | 419 } // namespace net |
420 | 420 |
421 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_ | 421 #endif // NET_QUIC_CHROMIUM_QUIC_CHROMIUM_CLIENT_SESSION_H_ |
OLD | NEW |