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

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

Issue 143073006: Minor cleanup of SetQuicServerInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moved inlined empty code into .cc file Created 6 years, 10 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
« no previous file with comments | « net/http/http_transaction.h ('k') | net/http/http_transaction_unittest.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_HTTP_HTTP_TRANSACTION_UNITTEST_H_ 5 #ifndef NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_
6 #define NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_ 6 #define NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_
7 7
8 #include "net/http/http_transaction.h" 8 #include "net/http/http_transaction.h"
9 9
10 #include <string> 10 #include <string>
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 virtual int64 GetTotalReceivedBytes() const OVERRIDE; 196 virtual int64 GetTotalReceivedBytes() const OVERRIDE;
197 197
198 virtual void DoneReading() OVERRIDE; 198 virtual void DoneReading() OVERRIDE;
199 199
200 virtual const net::HttpResponseInfo* GetResponseInfo() const OVERRIDE; 200 virtual const net::HttpResponseInfo* GetResponseInfo() const OVERRIDE;
201 201
202 virtual net::LoadState GetLoadState() const OVERRIDE; 202 virtual net::LoadState GetLoadState() const OVERRIDE;
203 203
204 virtual net::UploadProgress GetUploadProgress() const OVERRIDE; 204 virtual net::UploadProgress GetUploadProgress() const OVERRIDE;
205 205
206 virtual void SetQuicServerInfo(
207 net::QuicServerInfo* quic_server_info) OVERRIDE;
208
206 virtual bool GetLoadTimingInfo( 209 virtual bool GetLoadTimingInfo(
207 net::LoadTimingInfo* load_timing_info) const OVERRIDE; 210 net::LoadTimingInfo* load_timing_info) const OVERRIDE;
208 211
209 virtual void SetPriority(net::RequestPriority priority) OVERRIDE; 212 virtual void SetPriority(net::RequestPriority priority) OVERRIDE;
210 213
211 virtual void SetWebSocketHandshakeStreamCreateHelper( 214 virtual void SetWebSocketHandshakeStreamCreateHelper(
212 CreateHelper* create_helper) OVERRIDE; 215 CreateHelper* create_helper) OVERRIDE;
213 216
214 virtual void SetBeforeNetworkStartCallback( 217 virtual void SetBeforeNetworkStartCallback(
215 const BeforeNetworkStartCallback& callback) OVERRIDE; 218 const BeforeNetworkStartCallback& callback) OVERRIDE;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 base::WeakPtr<MockNetworkTransaction> last_transaction_; 293 base::WeakPtr<MockNetworkTransaction> last_transaction_;
291 }; 294 };
292 295
293 //----------------------------------------------------------------------------- 296 //-----------------------------------------------------------------------------
294 // helpers 297 // helpers
295 298
296 // read the transaction completely 299 // read the transaction completely
297 int ReadTransaction(net::HttpTransaction* trans, std::string* result); 300 int ReadTransaction(net::HttpTransaction* trans, std::string* result);
298 301
299 #endif // NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_ 302 #endif // NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_
OLDNEW
« no previous file with comments | « net/http/http_transaction.h ('k') | net/http/http_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698