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

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: Cleanup. 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 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698