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 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 "base/time.h" | 8 #include "base/time/time.h" |
9 #include "googleurl/src/gurl.h" | 9 #include "googleurl/src/gurl.h" |
10 | 10 |
11 class Profile; | 11 class Profile; |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 class WebContents; | 14 class WebContents; |
15 } | 15 } |
16 | 16 |
17 namespace predictors { | 17 namespace predictors { |
18 | 18 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 // Maximum number of prefetches that can be inflight for a single navigation. | 107 // Maximum number of prefetches that can be inflight for a single navigation. |
108 int max_prefetches_inflight_per_navigation; | 108 int max_prefetches_inflight_per_navigation; |
109 // Maximum number of prefetches that can be inflight for a host for a single | 109 // Maximum number of prefetches that can be inflight for a host for a single |
110 // navigation. | 110 // navigation. |
111 int max_prefetches_inflight_per_host_per_navigation; | 111 int max_prefetches_inflight_per_host_per_navigation; |
112 }; | 112 }; |
113 | 113 |
114 } // namespace predictors | 114 } // namespace predictors |
115 | 115 |
116 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_COMMON_H_ | 116 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_COMMON_H_ |
OLD | NEW |