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

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

Issue 7529043: Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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) 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_HTTP_HTTP_NETWORK_TRANSACTION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 14 matching lines...) Expand all
25 25
26 namespace net { 26 namespace net {
27 27
28 class HttpAuthController; 28 class HttpAuthController;
29 class HttpNetworkSession; 29 class HttpNetworkSession;
30 class HttpStream; 30 class HttpStream;
31 class HttpStreamRequest; 31 class HttpStreamRequest;
32 class IOBuffer; 32 class IOBuffer;
33 struct HttpRequestInfo; 33 struct HttpRequestInfo;
34 34
35 class NET_TEST HttpNetworkTransaction : public HttpTransaction, 35 class NET_EXPORT_PRIVATE HttpNetworkTransaction
36 public HttpStreamRequest::Delegate { 36 : public HttpTransaction,
37 public HttpStreamRequest::Delegate {
37 public: 38 public:
38 explicit HttpNetworkTransaction(HttpNetworkSession* session); 39 explicit HttpNetworkTransaction(HttpNetworkSession* session);
39 40
40 virtual ~HttpNetworkTransaction(); 41 virtual ~HttpNetworkTransaction();
41 42
42 // HttpTransaction methods: 43 // HttpTransaction methods:
43 virtual int Start(const HttpRequestInfo* request_info, 44 virtual int Start(const HttpRequestInfo* request_info,
44 CompletionCallback* callback, 45 CompletionCallback* callback,
45 const BoundNetLog& net_log); 46 const BoundNetLog& net_log);
46 virtual int RestartIgnoringLastError(CompletionCallback* callback); 47 virtual int RestartIgnoringLastError(CompletionCallback* callback);
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 // True when the tunnel is in the process of being established - we can't 269 // True when the tunnel is in the process of being established - we can't
269 // read from the socket until the tunnel is done. 270 // read from the socket until the tunnel is done.
270 bool establishing_tunnel_; 271 bool establishing_tunnel_;
271 272
272 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); 273 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction);
273 }; 274 };
274 275
275 } // namespace net 276 } // namespace net
276 277
277 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 278 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698