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

Side by Side Diff: net/tools/flip_server/http_interface.h

Issue 1893083002: Change scoped_ptr to std::unique_ptr in //net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-net-all: iwyu Created 4 years, 8 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/tools/epoll_server/epoll_server.h ('k') | net/tools/flip_server/http_interface_test.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TOOLS_FLIP_SERVER_HTTP_INTERFACE_H_ 5 #ifndef NET_TOOLS_FLIP_SERVER_HTTP_INTERFACE_H_
6 #define NET_TOOLS_FLIP_SERVER_HTTP_INTERFACE_H_ 6 #define NET_TOOLS_FLIP_SERVER_HTTP_INTERFACE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 size_t SendSynStreamImpl(uint32_t stream_id, const BalsaHeaders& headers); 118 size_t SendSynStreamImpl(uint32_t stream_id, const BalsaHeaders& headers);
119 void SendDataFrameImpl(uint32_t stream_id, 119 void SendDataFrameImpl(uint32_t stream_id,
120 const char* data, 120 const char* data,
121 int64_t len, 121 int64_t len,
122 uint32_t flags, 122 uint32_t flags,
123 bool compress); 123 bool compress);
124 void EnqueueDataFrame(DataFrame* df); 124 void EnqueueDataFrame(DataFrame* df);
125 void GetOutput() override; 125 void GetOutput() override;
126 126
127 private: 127 private:
128 scoped_ptr<BalsaFrame> http_framer_; 128 std::unique_ptr<BalsaFrame> http_framer_;
129 BalsaHeaders headers_; 129 BalsaHeaders headers_;
130 uint32_t stream_id_; 130 uint32_t stream_id_;
131 int32_t server_idx_; 131 int32_t server_idx_;
132 132
133 SMConnection* connection_; 133 SMConnection* connection_;
134 SMInterface* sm_spdy_interface_; 134 SMInterface* sm_spdy_interface_;
135 OutputList* output_list_; 135 OutputList* output_list_;
136 OutputOrdering output_ordering_; 136 OutputOrdering output_ordering_;
137 MemoryCache* memory_cache_; 137 MemoryCache* memory_cache_;
138 FlipAcceptor* acceptor_; 138 FlipAcceptor* acceptor_;
139 }; 139 };
140 140
141 } // namespace net 141 } // namespace net
142 142
143 #endif // NET_TOOLS_FLIP_SERVER_HTTP_INTERFACE_H_ 143 #endif // NET_TOOLS_FLIP_SERVER_HTTP_INTERFACE_H_
OLDNEW
« no previous file with comments | « net/tools/epoll_server/epoll_server.h ('k') | net/tools/flip_server/http_interface_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698