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

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: clear to land Created 7 years, 12 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_concurrency(1), 10 max_link_concurrency(1),
11 max_link_concurrency_per_launcher(1),
11 rate_limit_enabled(true), 12 rate_limit_enabled(true),
13 max_wait_to_launch(base::TimeDelta::FromMinutes(4)),
12 time_to_live(base::TimeDelta::FromMinutes(5)), 14 time_to_live(base::TimeDelta::FromMinutes(5)),
13 abandon_time_to_live(base::TimeDelta::FromSeconds(30)), 15 abandon_time_to_live(base::TimeDelta::FromSeconds(30)),
14 https_allowed(true), 16 https_allowed(true),
15 default_tab_bounds(640, 480), 17 default_tab_bounds(640, 480),
16 is_overriding_user_agent(false) { 18 is_overriding_user_agent(false) {
17 } 19 }
18 20
19 Config::~Config() { } 21 Config::~Config() { }
20 22
21 } // namespace prerender 23 } // namespace prerender
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_config.h ('k') | chrome/browser/prerender/prerender_final_status.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698