OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PUBLIC_CHILD_REQUEST_PEER_H_ | 5 #ifndef CONTENT_PUBLIC_CHILD_REQUEST_PEER_H_ |
6 #define CONTENT_PUBLIC_CHILD_REQUEST_PEER_H_ | 6 #define CONTENT_PUBLIC_CHILD_REQUEST_PEER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
14 | 14 |
15 class GURL; | |
16 | |
17 namespace base { | 15 namespace base { |
18 class TimeTicks; | 16 class TimeTicks; |
19 } | 17 } |
20 | 18 |
21 namespace net { | 19 namespace net { |
22 struct RedirectInfo; | 20 struct RedirectInfo; |
23 } | 21 } |
24 | 22 |
25 namespace content { | 23 namespace content { |
26 | 24 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 bool stale_copy_in_cache, | 101 bool stale_copy_in_cache, |
104 const base::TimeTicks& completion_time, | 102 const base::TimeTicks& completion_time, |
105 int64_t total_transfer_size) = 0; | 103 int64_t total_transfer_size) = 0; |
106 | 104 |
107 virtual ~RequestPeer() {} | 105 virtual ~RequestPeer() {} |
108 }; | 106 }; |
109 | 107 |
110 } // namespace content | 108 } // namespace content |
111 | 109 |
112 #endif // CONTENT_PUBLIC_CHILD_REQUEST_PEER_H_ | 110 #endif // CONTENT_PUBLIC_CHILD_REQUEST_PEER_H_ |
OLD | NEW |