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

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

Issue 11551003: Change multi-prerender API to include per launcher slots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: surprising test deflake Created 8 years 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_concurrency(1), 10 max_concurrency(1),
11 max_concurrency_per_launcher(1),
11 rate_limit_enabled(true), 12 rate_limit_enabled(true),
12 time_to_live(base::TimeDelta::FromMinutes(5)), 13 time_to_live(base::TimeDelta::FromMinutes(5)),
13 abandon_time_to_live(base::TimeDelta::FromSeconds(30)), 14 abandon_time_to_live(base::TimeDelta::FromSeconds(30)),
14 https_allowed(true), 15 https_allowed(true),
15 default_tab_bounds(640, 480), 16 default_tab_bounds(640, 480),
16 is_overriding_user_agent(false) { 17 is_overriding_user_agent(false) {
17 } 18 }
18 19
19 Config::~Config() { } 20 Config::~Config() { }
20 21
21 } // namespace prerender 22 } // namespace prerender
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698