Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Side by Side Diff: ios/web_view/internal/app/web_view_io_thread.mm

Issue 2894483003: Initialize ios/web_view translate with a system-wide URLRequestContext. (Closed)
Patch Set: Remove unneeded deps. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698