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 namespace ios_web_view { |
| 15 |
| 16 WebViewIOThread::WebViewIOThread(PrefService* local_state, |
| 17 net_log::ChromeNetLog* net_log) |
| 18 : IOSIOThread(local_state, net_log) {} |
| 19 |
| 20 WebViewIOThread::~WebViewIOThread() = default; |
| 21 |
| 22 std::unique_ptr<net::NetworkDelegate> |
| 23 WebViewIOThread::CreateSystemNetworkDelegate() { |
| 24 return base::MakeUnique<ios_web_view::WebViewNetworkDelegate>(); |
| 25 } |
| 26 |
| 27 std::string WebViewIOThread::GetChannelString() const { |
| 28 return std::string(); |
| 29 } |
| 30 |
| 31 } // namespace ios_web_view |
OLD | NEW |