Chromium Code Reviews| 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. */ | |
|
pasko
2016/04/04 17:04:22
C++ style comments necessary here.
gabadie
2016/04/04 19:42:50
Done.
| |
| 11 const int kDefaultPrerenderLifeExpectancyMinutes = 5; | |
| 12 | |
| 13 /* Offline originated prerenders have an higher life expectancy to have more | |
|
pasko
2016/04/04 17:04:22
And here too - C++ style comments.
gabadie
2016/04/04 19:42:50
Done.
| |
| 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 |