Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Side by Side Diff: net/quic/quic_stream_factory.h

Issue 1812823010: Rename net::BidirectionalStream*Job to net::BidirectionalStream*Impl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/bidirectional_stream_quic_impl_unittest.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef NET_QUIC_QUIC_STREAM_FACTORY_H_ 5 #ifndef NET_QUIC_QUIC_STREAM_FACTORY_H_
6 #define NET_QUIC_QUIC_STREAM_FACTORY_H_ 6 #define NET_QUIC_QUIC_STREAM_FACTORY_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 class QuicChromiumClientSession; 49 class QuicChromiumClientSession;
50 class QuicChromiumConnectionHelper; 50 class QuicChromiumConnectionHelper;
51 class QuicCryptoClientStreamFactory; 51 class QuicCryptoClientStreamFactory;
52 class QuicRandom; 52 class QuicRandom;
53 class QuicServerId; 53 class QuicServerId;
54 class QuicServerInfo; 54 class QuicServerInfo;
55 class QuicServerInfoFactory; 55 class QuicServerInfoFactory;
56 class QuicStreamFactory; 56 class QuicStreamFactory;
57 class SocketPerformanceWatcherFactory; 57 class SocketPerformanceWatcherFactory;
58 class TransportSecurityState; 58 class TransportSecurityState;
59 class BidirectionalStreamJob; 59 class BidirectionalStreamImpl;
60 60
61 namespace test { 61 namespace test {
62 class QuicStreamFactoryPeer; 62 class QuicStreamFactoryPeer;
63 } // namespace test 63 } // namespace test
64 64
65 // When a connection is idle for 30 seconds it will be closed. 65 // When a connection is idle for 30 seconds it will be closed.
66 const int kIdleConnectionTimeoutSeconds = 30; 66 const int kIdleConnectionTimeoutSeconds = 30;
67 67
68 // Encapsulates a pending request for a QuicHttpStream. 68 // Encapsulates a pending request for a QuicHttpStream.
69 // If the request is still pending when it is destroyed, it will 69 // If the request is still pending when it is destroyed, it will
(...skipping 14 matching lines...) Expand all
84 const CompletionCallback& callback); 84 const CompletionCallback& callback);
85 85
86 void OnRequestComplete(int rv); 86 void OnRequestComplete(int rv);
87 87
88 // Helper method that calls |factory_|'s GetTimeDelayForWaitingJob(). It 88 // Helper method that calls |factory_|'s GetTimeDelayForWaitingJob(). It
89 // returns the amount of time waiting job should be delayed. 89 // returns the amount of time waiting job should be delayed.
90 base::TimeDelta GetTimeDelayForWaitingJob() const; 90 base::TimeDelta GetTimeDelayForWaitingJob() const;
91 91
92 scoped_ptr<QuicHttpStream> CreateStream(); 92 scoped_ptr<QuicHttpStream> CreateStream();
93 93
94 scoped_ptr<BidirectionalStreamJob> CreateBidirectionalStreamJob(); 94 scoped_ptr<BidirectionalStreamImpl> CreateBidirectionalStreamImpl();
95 95
96 // Sets |session_|. 96 // Sets |session_|.
97 void SetSession(QuicChromiumClientSession* session); 97 void SetSession(QuicChromiumClientSession* session);
98 98
99 const std::string& origin_host() const { return origin_host_; } 99 const std::string& origin_host() const { return origin_host_; }
100 100
101 PrivacyMode privacy_mode() const { return privacy_mode_; } 101 PrivacyMode privacy_mode() const { return privacy_mode_; }
102 102
103 const BoundNetLog& net_log() const { return net_log_; } 103 const BoundNetLog& net_log() const { return net_log_; }
104 104
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 base::TaskRunner* task_runner_; 556 base::TaskRunner* task_runner_;
557 557
558 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; 558 base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
559 559
560 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); 560 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);
561 }; 561 };
562 562
563 } // namespace net 563 } // namespace net
564 564
565 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ 565 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_
OLDNEW
« no previous file with comments | « net/quic/bidirectional_stream_quic_impl_unittest.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698