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

Side by Side Diff: net/http/http_pipelined_host.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
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_HTTP_HTTP_PIPELINED_HOST_H_ 5 #ifndef NET_HTTP_HTTP_PIPELINED_HOST_H_
6 #define NET_HTTP_HTTP_PIPELINED_HOST_H_ 6 #define NET_HTTP_HTTP_PIPELINED_HOST_H_
7 7
8 #include "net/base/host_port_pair.h" 8 #include "net/base/host_port_pair.h"
9 #include "net/base/net_export.h" 9 #include "net/base/net_export.h"
10 #include "net/http/http_pipelined_connection.h" 10 #include "net/http/http_pipelined_connection.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 HttpPipelinedHost* host, 56 HttpPipelinedHost* host,
57 HttpPipelinedHostCapability capability) = 0; 57 HttpPipelinedHostCapability capability) = 0;
58 }; 58 };
59 59
60 class Factory { 60 class Factory {
61 public: 61 public:
62 virtual ~Factory() {} 62 virtual ~Factory() {}
63 63
64 // Returns a new HttpPipelinedHost. 64 // Returns a new HttpPipelinedHost.
65 virtual HttpPipelinedHost* CreateNewHost( 65 virtual HttpPipelinedHost* CreateNewHost(
66 Delegate* delegate, const Key& key, 66 Delegate* delegate,
67 const Key& key,
67 HttpPipelinedConnection::Factory* factory, 68 HttpPipelinedConnection::Factory* factory,
68 HttpPipelinedHostCapability capability, 69 HttpPipelinedHostCapability capability,
69 bool force_pipelining) = 0; 70 bool force_pipelining) = 0;
70 }; 71 };
71 72
72 virtual ~HttpPipelinedHost() {} 73 virtual ~HttpPipelinedHost() {}
73 74
74 // Constructs a new pipeline on |connection| and returns a new 75 // Constructs a new pipeline on |connection| and returns a new
75 // HttpPipelinedStream that uses it. 76 // HttpPipelinedStream that uses it.
76 virtual HttpPipelinedStream* CreateStreamOnNewPipeline( 77 virtual HttpPipelinedStream* CreateStreamOnNewPipeline(
(...skipping 16 matching lines...) Expand all
93 virtual const Key& GetKey() const = 0; 94 virtual const Key& GetKey() const = 0;
94 95
95 // Creates a Value summary of this host's pipelines. Caller assumes 96 // Creates a Value summary of this host's pipelines. Caller assumes
96 // ownership of the returned Value. 97 // ownership of the returned Value.
97 virtual base::Value* PipelineInfoToValue() const = 0; 98 virtual base::Value* PipelineInfoToValue() const = 0;
98 }; 99 };
99 100
100 } // namespace net 101 } // namespace net
101 102
102 #endif // NET_HTTP_HTTP_PIPELINED_HOST_H_ 103 #endif // NET_HTTP_HTTP_PIPELINED_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698