• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #include "chrome/browser/prerender/prerender_config.h"
6 
7 namespace prerender {
8 
Config()9 Config::Config() : max_bytes(150 * 1024 * 1024),
10                    max_link_concurrency(1),
11                    max_link_concurrency_per_launcher(1),
12                    rate_limit_enabled(true),
13                    max_wait_to_launch(base::TimeDelta::FromMinutes(4)),
14                    time_to_live(base::TimeDelta::FromMinutes(5)),
15                    abandon_time_to_live(base::TimeDelta::FromSeconds(30)),
16                    default_tab_bounds(640, 480),
17                    is_overriding_user_agent(false) {
18 }
19 
~Config()20 Config::~Config() { }
21 
22 }  // namespace prerender
23