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

Side by Side Diff: ios/web/shell/shell_url_request_context_getter.mm

Issue 2073753003: Convert ios_web_shell to ARC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@buildconfig-gn
Patch Set: rebase Created 4 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
« no previous file with comments | « ios/web/shell/shell_main_delegate.mm ('k') | ios/web/shell/shell_web_client.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ios/web/shell/shell_url_request_context_getter.h" 5 #include "ios/web/shell/shell_url_request_context_getter.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/base_paths.h" 10 #include "base/base_paths.h"
(...skipping 20 matching lines...) Expand all
31 #include "net/proxy/proxy_service.h" 31 #include "net/proxy/proxy_service.h"
32 #include "net/ssl/channel_id_service.h" 32 #include "net/ssl/channel_id_service.h"
33 #include "net/ssl/default_channel_id_store.h" 33 #include "net/ssl/default_channel_id_store.h"
34 #include "net/ssl/ssl_config_service_defaults.h" 34 #include "net/ssl/ssl_config_service_defaults.h"
35 #include "net/url_request/data_protocol_handler.h" 35 #include "net/url_request/data_protocol_handler.h"
36 #include "net/url_request/static_http_user_agent_settings.h" 36 #include "net/url_request/static_http_user_agent_settings.h"
37 #include "net/url_request/url_request_context.h" 37 #include "net/url_request/url_request_context.h"
38 #include "net/url_request/url_request_context_storage.h" 38 #include "net/url_request/url_request_context_storage.h"
39 #include "net/url_request/url_request_job_factory_impl.h" 39 #include "net/url_request/url_request_job_factory_impl.h"
40 40
41 #if !defined(__has_feature) || !__has_feature(objc_arc)
42 #error "This file requires ARC support."
43 #endif
44
41 namespace web { 45 namespace web {
42 46
43 ShellURLRequestContextGetter::ShellURLRequestContextGetter( 47 ShellURLRequestContextGetter::ShellURLRequestContextGetter(
44 const base::FilePath& base_path, 48 const base::FilePath& base_path,
45 const scoped_refptr<base::SingleThreadTaskRunner>& network_task_runner, 49 const scoped_refptr<base::SingleThreadTaskRunner>& network_task_runner,
46 const scoped_refptr<base::SingleThreadTaskRunner>& file_task_runner, 50 const scoped_refptr<base::SingleThreadTaskRunner>& file_task_runner,
47 const scoped_refptr<base::SingleThreadTaskRunner>& cache_task_runner) 51 const scoped_refptr<base::SingleThreadTaskRunner>& cache_task_runner)
48 : base_path_(base_path), 52 : base_path_(base_path),
49 file_task_runner_(file_task_runner), 53 file_task_runner_(file_task_runner),
50 network_task_runner_(network_task_runner), 54 network_task_runner_(network_task_runner),
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 158
155 return url_request_context_.get(); 159 return url_request_context_.get();
156 } 160 }
157 161
158 scoped_refptr<base::SingleThreadTaskRunner> 162 scoped_refptr<base::SingleThreadTaskRunner>
159 ShellURLRequestContextGetter::GetNetworkTaskRunner() const { 163 ShellURLRequestContextGetter::GetNetworkTaskRunner() const {
160 return network_task_runner_; 164 return network_task_runner_;
161 } 165 }
162 166
163 } // namespace web 167 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/shell/shell_main_delegate.mm ('k') | ios/web/shell/shell_web_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698