prerender_config.cc 636 B

123456789101112131415161718192021
  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. #include "components/no_state_prefetch/browser/prerender_config.h"
  5. namespace prerender {
  6. Config::Config()
  7. : max_bytes(150 * 1024 * 1024),
  8. max_link_concurrency(1),
  9. max_link_concurrency_per_launcher(1),
  10. rate_limit_enabled(true),
  11. max_wait_to_launch(base::Minutes(4)),
  12. time_to_live(base::Minutes(5)),
  13. abandon_time_to_live(base::Seconds(3)),
  14. default_tab_bounds(640, 480) {}
  15. Config::~Config() {}
  16. } // namespace prerender