| OLD | NEW | 
|    1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2010 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  |    7  | 
|    8 #include <string> |    8 #include <string> | 
|    9  |    9  | 
|   10 #include "base/basictypes.h" |   10 #include "base/basictypes.h" | 
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  234   // Get the {scheme, host, path, port} for the authentication target |  234   // Get the {scheme, host, path, port} for the authentication target | 
|  235   GURL AuthURL(HttpAuth::Target target) const; |  235   GURL AuthURL(HttpAuth::Target target) const; | 
|  236  |  236  | 
|  237   void MarkBrokenAlternateProtocolAndFallback(); |  237   void MarkBrokenAlternateProtocolAndFallback(); | 
|  238  |  238  | 
|  239   // Debug helper. |  239   // Debug helper. | 
|  240   static std::string DescribeState(State state); |  240   static std::string DescribeState(State state); | 
|  241  |  241  | 
|  242   static bool g_ignore_certificate_errors; |  242   static bool g_ignore_certificate_errors; | 
|  243  |  243  | 
|  244   scoped_refptr<HttpAuthController> |  244   scoped_ptr<HttpAuthController> auth_controllers_[HttpAuth::AUTH_NUM_TARGETS]; | 
|  245       auth_controllers_[HttpAuth::AUTH_NUM_TARGETS]; |  | 
|  246  |  245  | 
|  247   // Whether this transaction is waiting for proxy auth, server auth, or is |  246   // Whether this transaction is waiting for proxy auth, server auth, or is | 
|  248   // not waiting for any auth at all. |pending_auth_target_| is read and |  247   // not waiting for any auth at all. |pending_auth_target_| is read and | 
|  249   // cleared by RestartWithAuth(). |  248   // cleared by RestartWithAuth(). | 
|  250   HttpAuth::Target pending_auth_target_; |  249   HttpAuth::Target pending_auth_target_; | 
|  251  |  250  | 
|  252   CompletionCallbackImpl<HttpNetworkTransaction> io_callback_; |  251   CompletionCallbackImpl<HttpNetworkTransaction> io_callback_; | 
|  253   CompletionCallback* user_callback_; |  252   CompletionCallback* user_callback_; | 
|  254  |  253  | 
|  255   scoped_refptr<HttpNetworkSession> session_; |  254   scoped_refptr<HttpNetworkSession> session_; | 
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  313   // True when the tunnel is in the process of being established - we can't |  312   // True when the tunnel is in the process of being established - we can't | 
|  314   // read from the socket until the tunnel is done. |  313   // read from the socket until the tunnel is done. | 
|  315   bool establishing_tunnel_; |  314   bool establishing_tunnel_; | 
|  316  |  315  | 
|  317   DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); |  316   DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); | 
|  318 }; |  317 }; | 
|  319  |  318  | 
|  320 }  // namespace net |  319 }  // namespace net | 
|  321  |  320  | 
|  322 #endif  // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |  321 #endif  // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 
| OLD | NEW |