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

Side by Side Diff: chrome/browser/prerender/prerender_config.cc

Issue 10802024: Make three simultanious prerenders the default maximum in Canary and Dev only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add an histogram Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
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 #include "chrome/browser/prerender/prerender_config.h" 5 #include "chrome/browser/prerender/prerender_config.h"
6 6
7 namespace prerender { 7 namespace prerender {
8 8
9 Config::Config() : max_bytes(100 * 1024 * 1024), 9 Config::Config() : max_bytes(100 * 1024 * 1024),
10 max_elements(1), 10 max_concurrency(kDefaultMaxConcurrency),
11 rate_limit_enabled(true), 11 rate_limit_enabled(true),
12 max_age(base::TimeDelta::FromSeconds(30)), 12 max_age(base::TimeDelta::FromSeconds(30)),
13 https_allowed(true), 13 https_allowed(true),
14 default_tab_bounds(640, 480), 14 default_tab_bounds(640, 480),
15 is_overriding_user_agent(false) { 15 is_overriding_user_agent(false) {
16 } 16 }
17 17
18 } // namespace prerender 18 } // namespace prerender
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698