1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- // Copyright 2018 The Chromium Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
- #include "components/update_client/command_line_config_policy.h"
- #include "build/build_config.h"
- #include "url/gurl.h"
- namespace update_client {
- bool CommandLineConfigPolicy::BackgroundDownloadsEnabled() const {
- #if BUILDFLAG(IS_WIN)
- return true;
- #else
- return false;
- #endif
- }
- bool CommandLineConfigPolicy::DeltaUpdatesEnabled() const {
- return true;
- }
- bool CommandLineConfigPolicy::FastUpdate() const {
- return false;
- }
- bool CommandLineConfigPolicy::PingsEnabled() const {
- return true;
- }
- bool CommandLineConfigPolicy::TestRequest() const {
- return false;
- }
- GURL CommandLineConfigPolicy::UrlSourceOverride() const {
- return GURL();
- }
- double CommandLineConfigPolicy::InitialDelay() const {
- return 0;
- }
- } // namespace update_client
|