| // 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 defined(OS_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(); | |
| } | |
| int CommandLineConfigPolicy::InitialDelay() const { | |
| return 0; | |
| } | |
| } // namespace update_client |