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 // This file declares HttpCache::Transaction, a private class of HttpCache so | 5 // This file declares HttpCache::Transaction, a private class of HttpCache so |
6 // it should only be included by http_cache.cc | 6 // it should only be included by http_cache.cc |
7 | 7 |
8 #ifndef NET_HTTP_HTTP_CACHE_TRANSACTION_H_ | 8 #ifndef NET_HTTP_HTTP_CACHE_TRANSACTION_H_ |
9 #define NET_HTTP_HTTP_CACHE_TRANSACTION_H_ | 9 #define NET_HTTP_HTTP_CACHE_TRANSACTION_H_ |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/time.h" | 13 #include "base/time/time.h" |
14 #include "net/base/completion_callback.h" | 14 #include "net/base/completion_callback.h" |
15 #include "net/base/net_log.h" | 15 #include "net/base/net_log.h" |
16 #include "net/base/request_priority.h" | 16 #include "net/base/request_priority.h" |
17 #include "net/http/http_cache.h" | 17 #include "net/http/http_cache.h" |
| 18 #include "net/http/http_request_headers.h" |
18 #include "net/http/http_response_info.h" | 19 #include "net/http/http_response_info.h" |
19 #include "net/http/http_request_headers.h" | |
20 #include "net/http/http_transaction.h" | 20 #include "net/http/http_transaction.h" |
21 | 21 |
22 namespace net { | 22 namespace net { |
23 | 23 |
24 class PartialData; | 24 class PartialData; |
25 struct HttpRequestInfo; | 25 struct HttpRequestInfo; |
26 class HttpTransactionDelegate; | 26 class HttpTransactionDelegate; |
27 struct LoadTimingInfo; | 27 struct LoadTimingInfo; |
28 | 28 |
29 // This is the transaction that is returned by the HttpCache transaction | 29 // This is the transaction that is returned by the HttpCache transaction |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 | 457 |
458 // Load timing information for the last network request, if any. Set in the | 458 // Load timing information for the last network request, if any. Set in the |
459 // 304 and 206 response cases, as the network transaction may be destroyed | 459 // 304 and 206 response cases, as the network transaction may be destroyed |
460 // before the caller requests load timing information. | 460 // before the caller requests load timing information. |
461 scoped_ptr<LoadTimingInfo> old_network_trans_load_timing_; | 461 scoped_ptr<LoadTimingInfo> old_network_trans_load_timing_; |
462 }; | 462 }; |
463 | 463 |
464 } // namespace net | 464 } // namespace net |
465 | 465 |
466 #endif // NET_HTTP_HTTP_CACHE_TRANSACTION_H_ | 466 #endif // NET_HTTP_HTTP_CACHE_TRANSACTION_H_ |
OLD | NEW |