Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ | 5 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ |
| 6 #define CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ | 6 #define CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ |
| 7 | 7 |
| 8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 120 scoped_ptr<net::URLRequest> request_; | 120 scoped_ptr<net::URLRequest> request_; |
| 121 scoped_ptr<ResourceHandler> handler_; | 121 scoped_ptr<ResourceHandler> handler_; |
| 122 ResourceLoaderDelegate* delegate_; | 122 ResourceLoaderDelegate* delegate_; |
| 123 | 123 |
| 124 scoped_refptr<ResourceDispatcherHostLoginDelegate> login_delegate_; | 124 scoped_refptr<ResourceDispatcherHostLoginDelegate> login_delegate_; |
| 125 scoped_refptr<SSLClientAuthHandler> ssl_client_auth_handler_; | 125 scoped_refptr<SSLClientAuthHandler> ssl_client_auth_handler_; |
| 126 | 126 |
| 127 uint64 last_upload_position_; | 127 uint64 last_upload_position_; |
| 128 bool waiting_for_upload_progress_ack_; | 128 bool waiting_for_upload_progress_ack_; |
| 129 base::TimeTicks last_upload_ticks_; | 129 base::TimeTicks last_upload_ticks_; |
| 130 bool compute_read_deferral_histogram_; | |
| 131 base::TimeTicks deferral_time_; | |
|
James Simonsen
2013/08/01 19:17:40
read_deferral_start_time_?
clamy
2013/08/05 14:33:44
Done.
| |
| 130 | 132 |
| 131 // Indicates that we are in a state of being transferred to a new downstream | 133 // Indicates that we are in a state of being transferred to a new downstream |
| 132 // consumer. We are waiting for a notification to complete the transfer, at | 134 // consumer. We are waiting for a notification to complete the transfer, at |
| 133 // which point we'll receive a new ResourceHandler. | 135 // which point we'll receive a new ResourceHandler. |
| 134 bool is_transferring_; | 136 bool is_transferring_; |
| 135 | 137 |
| 136 scoped_ptr<net::ClientCertStore> client_cert_store_; | 138 scoped_ptr<net::ClientCertStore> client_cert_store_; |
| 137 | 139 |
| 138 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_; | 140 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_; |
| 139 | 141 |
| 140 DISALLOW_COPY_AND_ASSIGN(ResourceLoader); | 142 DISALLOW_COPY_AND_ASSIGN(ResourceLoader); |
| 141 }; | 143 }; |
| 142 | 144 |
| 143 } // namespace content | 145 } // namespace content |
| 144 | 146 |
| 145 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ | 147 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ |
| OLD | NEW |