proxy_info.cc 911 B

1234567891011121314151617181920212223242526
  1. // Copyright 2020 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/winhttp/proxy_info.h"
  5. namespace winhttp {
  6. ProxyInfo::ProxyInfo() = default;
  7. ProxyInfo::~ProxyInfo() = default;
  8. ProxyInfo::ProxyInfo(bool auto_detect,
  9. const std::wstring& auto_config_url,
  10. const std::wstring& proxy,
  11. const std::wstring& proxy_bypass)
  12. : auto_detect(auto_detect),
  13. auto_config_url(auto_config_url),
  14. proxy(proxy),
  15. proxy_bypass(proxy_bypass) {}
  16. ProxyInfo::ProxyInfo(const ProxyInfo& proxy_info) = default;
  17. ProxyInfo& ProxyInfo::operator=(const ProxyInfo& proxy_info) = default;
  18. ProxyInfo::ProxyInfo(ProxyInfo&& proxy_info) = default;
  19. ProxyInfo& ProxyInfo::operator=(ProxyInfo&& proxy_info) = default;
  20. } // namespace winhttp