| OLD | NEW | 
|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/io_thread.h" | 5 #include "chrome/browser/io_thread.h" | 
| 6 | 6 | 
| 7 #include <vector> | 7 #include <vector> | 
| 8 | 8 | 
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" | 
| 10 #include "base/debug/leak_tracker.h" | 10 #include "base/debug/leak_tracker.h" | 
| 11 #include "base/logging.h" | 11 #include "base/logging.h" | 
| 12 #include "base/metrics/field_trial.h" | 12 #include "base/metrics/field_trial.h" | 
| 13 #include "base/stl_util-inl.h" | 13 #include "base/stl_util.h" | 
| 14 #include "base/string_number_conversions.h" | 14 #include "base/string_number_conversions.h" | 
| 15 #include "base/string_split.h" | 15 #include "base/string_split.h" | 
| 16 #include "base/string_util.h" | 16 #include "base/string_util.h" | 
| 17 #include "base/threading/thread_restrictions.h" | 17 #include "base/threading/thread_restrictions.h" | 
| 18 #include "build/build_config.h" | 18 #include "build/build_config.h" | 
| 19 #include "chrome/browser/browser_process.h" | 19 #include "chrome/browser/browser_process.h" | 
| 20 #include "chrome/browser/extensions/extension_event_router_forwarder.h" | 20 #include "chrome/browser/extensions/extension_event_router_forwarder.h" | 
| 21 #include "chrome/browser/media/media_internals.h" | 21 #include "chrome/browser/media/media_internals.h" | 
| 22 #include "chrome/browser/net/chrome_network_delegate.h" | 22 #include "chrome/browser/net/chrome_network_delegate.h" | 
| 23 #include "chrome/browser/net/chrome_net_log.h" | 23 #include "chrome/browser/net/chrome_net_log.h" | 
| (...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 711   system_params.network_delegate = globals_->system_network_delegate.get(); | 711   system_params.network_delegate = globals_->system_network_delegate.get(); | 
| 712   system_params.net_log = net_log_; | 712   system_params.net_log = net_log_; | 
| 713   globals_->system_http_transaction_factory.reset( | 713   globals_->system_http_transaction_factory.reset( | 
| 714       new net::HttpNetworkLayer( | 714       new net::HttpNetworkLayer( | 
| 715           new net::HttpNetworkSession(system_params))); | 715           new net::HttpNetworkSession(system_params))); | 
| 716   globals_->system_ftp_transaction_factory.reset( | 716   globals_->system_ftp_transaction_factory.reset( | 
| 717       new net::FtpNetworkLayer(globals_->host_resolver.get())); | 717       new net::FtpNetworkLayer(globals_->host_resolver.get())); | 
| 718   globals_->system_request_context = | 718   globals_->system_request_context = | 
| 719       ConstructSystemRequestContext(globals_, net_log_); | 719       ConstructSystemRequestContext(globals_, net_log_); | 
| 720 } | 720 } | 
| OLD | NEW | 
|---|