summaryrefslogtreecommitdiff
path: root/chromium/content/common/wrapper_shared_url_loader_factory.cc
blob: 5c595d67fde242f02d610c4a6801083d6292aceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// 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 "content/common/wrapper_shared_url_loader_factory.h"


namespace content {

WrapperSharedURLLoaderFactoryInfo::WrapperSharedURLLoaderFactoryInfo() =
    default;

WrapperSharedURLLoaderFactoryInfo::WrapperSharedURLLoaderFactoryInfo(
    network::mojom::URLLoaderFactoryPtrInfo factory_ptr_info)
    : factory_ptr_info_(std::move(factory_ptr_info)) {}

WrapperSharedURLLoaderFactoryInfo::~WrapperSharedURLLoaderFactoryInfo() =
    default;

scoped_refptr<SharedURLLoaderFactory>
WrapperSharedURLLoaderFactoryInfo::CreateFactory() {
  return base::MakeRefCounted<WrapperSharedURLLoaderFactory>(
      std::move(factory_ptr_info_));
}

}  // namespace content