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

Side by Side Diff: components/cronet/ios/cronet_environment.cc

Issue 1934083002: [Cronet] Use gn desc deps to find third_party licenses. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build from gyp project. 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 | « components/cronet/ios/BUILD.gn ('k') | components/cronet/tools/cr_cronet.py » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "components/cronet/ios/cronet_environment.h" 5 #include "components/cronet/ios/cronet_environment.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/at_exit.h" 9 #include "base/at_exit.h"
10 #include "base/atomicops.h" 10 #include "base/atomicops.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
14 #include "base/files/scoped_file.h" 14 #include "base/files/scoped_file.h"
15 #include "base/json/json_writer.h" 15 #include "base/json/json_writer.h"
16 #include "base/mac/bind_objc_block.h" 16 #include "base/mac/bind_objc_block.h"
17 #include "base/mac/foundation_util.h" 17 #include "base/mac/foundation_util.h"
18 #include "base/macros.h" 18 #include "base/macros.h"
19 #include "base/metrics/statistics_recorder.h" 19 #include "base/metrics/statistics_recorder.h"
20 #include "base/path_service.h" 20 #include "base/path_service.h"
21 #include "base/synchronization/waitable_event.h" 21 #include "base/synchronization/waitable_event.h"
22 #include "base/threading/worker_pool.h" 22 #include "base/threading/worker_pool.h"
23 #include "components/cronet/version.h" 23 #include "components/cronet/ios/version.h"
24 #include "components/prefs/json_pref_store.h" 24 #include "components/prefs/json_pref_store.h"
25 #include "components/prefs/pref_filter.h" 25 #include "components/prefs/pref_filter.h"
26 #include "net/base/net_errors.h" 26 #include "net/base/net_errors.h"
27 #include "net/base/network_change_notifier.h" 27 #include "net/base/network_change_notifier.h"
28 #include "net/cert/cert_verify_result.h" 28 #include "net/cert/cert_verify_result.h"
29 #include "net/dns/host_resolver.h" 29 #include "net/dns/host_resolver.h"
30 #include "net/dns/mapped_host_resolver.h" 30 #include "net/dns/mapped_host_resolver.h"
31 #include "net/http/http_auth_handler_factory.h" 31 #include "net/http/http_auth_handler_factory.h"
32 #include "net/http/http_cache.h" 32 #include "net/http/http_cache.h"
33 #include "net/http/http_response_headers.h" 33 #include "net/http/http_response_headers.h"
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 const net::HttpUserAgentSettings* user_agent_settings = 364 const net::HttpUserAgentSettings* user_agent_settings =
365 main_context_->http_user_agent_settings(); 365 main_context_->http_user_agent_settings();
366 if (!user_agent_settings) { 366 if (!user_agent_settings) {
367 return nullptr; 367 return nullptr;
368 } 368 }
369 369
370 return user_agent_settings->GetUserAgent(); 370 return user_agent_settings->GetUserAgent();
371 } 371 }
372 372
373 } // namespace cronet 373 } // namespace cronet
OLDNEW
« no previous file with comments | « components/cronet/ios/BUILD.gn ('k') | components/cronet/tools/cr_cronet.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698