Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Side by Side Diff: chrome/browser/prerender/prerender_constants.h

Issue 1854643002: Implement PrerenderManager::AddPrerenderForOffline() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses pasko's comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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;
pasko 2016/04/06 11:09:06 dougarnett@ said: "5 minutes is plenty.", and the
17
18 } // namespace prerender
19
20 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698