| 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 CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_COMMON_H_ | 5 #ifndef CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_COMMON_H_ |
| 6 #define CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_COMMON_H_ | 6 #define CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_COMMON_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| 9 #include "url/gurl.h" | 11 #include "url/gurl.h" |
| 10 | 12 |
| 11 class Profile; | 13 class Profile; |
| 12 | 14 |
| 13 namespace content { | 15 namespace content { |
| 14 class WebContents; | 16 class WebContents; |
| 15 } | 17 } |
| 16 | 18 |
| 17 namespace predictors { | 19 namespace predictors { |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 // Maximum number of prefetches that can be inflight for a single navigation. | 114 // Maximum number of prefetches that can be inflight for a single navigation. |
| 113 size_t max_prefetches_inflight_per_navigation; | 115 size_t max_prefetches_inflight_per_navigation; |
| 114 // Maximum number of prefetches that can be inflight for a host for a single | 116 // Maximum number of prefetches that can be inflight for a host for a single |
| 115 // navigation. | 117 // navigation. |
| 116 size_t max_prefetches_inflight_per_host_per_navigation; | 118 size_t max_prefetches_inflight_per_host_per_navigation; |
| 117 }; | 119 }; |
| 118 | 120 |
| 119 } // namespace predictors | 121 } // namespace predictors |
| 120 | 122 |
| 121 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_COMMON_H_ | 123 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_COMMON_H_ |
| OLD | NEW |