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

Unified Diff: chrome/browser/prerender/prerender_manager.h

Issue 6881113: Increase prerender max-age limit to 30 seconds from 20 seconds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/prerender/prerender_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prerender/prerender_manager.h
diff --git a/chrome/browser/prerender/prerender_manager.h b/chrome/browser/prerender/prerender_manager.h
index 51d31ac641268600ff81c76367a36d319a55dc0d..7cde14c23fd442def5ab20c5433eeb4b5b3998b8 100644
--- a/chrome/browser/prerender/prerender_manager.h
+++ b/chrome/browser/prerender/prerender_manager.h
@@ -212,22 +212,6 @@ class PrerenderManager : public base::RefCountedThreadSafe<PrerenderManager> {
PendingPrerenderList;
PendingPrerenderList pending_prerender_list_;
- // Default maximum permitted elements to prerender.
- static const unsigned int kDefaultMaxPrerenderElements = 1;
-
- // Default maximum age a prerendered element may have, in seconds.
- static const int kDefaultMaxPrerenderAgeSeconds = 20;
-
- // Time window for which we will record windowed PLT's from the last
- // observed link rel=prefetch tag.
- static const int kWindowDurationSeconds = 30;
-
- // Time interval at which periodic cleanups are performed.
- static const int kPeriodicCleanupIntervalMs = 1000;
-
- // Time interval before a new prerender is allowed.
- static const int kMinTimeBetweenPrerendersMs = 500;
-
scoped_ptr<PrerenderContents::Factory> prerender_contents_factory_;
static PrerenderManagerMode mode_;
« no previous file with comments | « no previous file | chrome/browser/prerender/prerender_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698