| // Copyright 2012 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #include "net/http/http_network_layer.h" |
| #include "net/http/http_network_transaction.h" |
| HttpNetworkLayer::HttpNetworkLayer(HttpNetworkSession* session) |
| HttpNetworkLayer::~HttpNetworkLayer() { |
| DCHECK_CALLED_ON_VALID_THREAD(thread_checker_); |
| std::unique_ptr<HttpTransaction> HttpNetworkLayer::CreateTransaction( |
| RequestPriority priority) { |
| return std::make_unique<HttpNetworkTransaction>(priority, GetSession()); |
| HttpCache* HttpNetworkLayer::GetCache() { |
| HttpNetworkSession* HttpNetworkLayer::GetSession() { |