OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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 |
| 5 #include "ios/web_view/internal/app/web_view_io_thread.h" |
| 6 |
| 7 #include "base/memory/ptr_util.h" |
| 8 #include "ios/web_view/internal/web_view_network_delegate.h" |
| 9 |
| 10 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 11 #error "This file requires ARC support." |
| 12 #endif |
| 13 |
| 14 WebViewIOThread::WebViewIOThread(PrefService* local_state, |
| 15 net_log::ChromeNetLog* net_log) |
| 16 : IOThread(local_state, net_log) {} |
| 17 |
| 18 WebViewIOThread::~WebViewIOThread() = default; |
| 19 |
| 20 std::unique_ptr<net::NetworkDelegate> |
| 21 WebViewIOThread::GetSystemNetworkDelegate() { |
| 22 return base::MakeUnique<ios_web_view::WebViewNetworkDelegate>(); |
| 23 } |
OLD | NEW |