blob: e2c5555a1dbf2df6f47f34fc7b0510d558a70bfd [file] [log] [blame]
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/network/url_request_context_owner.h"
#include "components/prefs/pref_service.h"
#include "net/url_request/url_request_context.h"
namespace network {
URLRequestContextOwner::URLRequestContextOwner() = default;
URLRequestContextOwner::URLRequestContextOwner(
std::unique_ptr<PrefService> pref_service_in,
std::unique_ptr<net::URLRequestContext> url_request_context_in)
: pref_service(std::move(pref_service_in)),
url_request_context(std::move(url_request_context_in)) {}
URLRequestContextOwner::~URLRequestContextOwner() = default;
URLRequestContextOwner::URLRequestContextOwner(URLRequestContextOwner&&) =
default;
URLRequestContextOwner& URLRequestContextOwner::operator=(
URLRequestContextOwner&&) = default;
} // namespace network