| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_CONSTANTS_H_ |
| 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONSTANTS_H_ |
| 7 |
| 8 namespace prerender { |
| 9 |
| 10 /* Most of the prerender are used in less than 5 minutes. */ |
| 11 const int kDefaultPrerenderLifeExpectancyMinutes = 5; |
| 12 |
| 13 /* Offline originated prerenders have an higher life expectancy to have more |
| 14 * time to fully load web pages from slow network before the web content |
| 15 * snapshot. */ |
| 16 const int kOfflinePrerenderLifeExpectancyMinutes = 20; |
| 17 |
| 18 } // namespace prerender |
| 19 |
| 20 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONSTANTS_H_ |
| OLD | NEW |