| OLD | NEW |
| 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 #ifndef IOS_CRNET_CRNET_ENVIRONMENT_H_ | 5 #ifndef IOS_CRNET_CRNET_ENVIRONMENT_H_ |
| 6 #define IOS_CRNET_CRNET_ENVIRONMENT_H_ | 6 #define IOS_CRNET_CRNET_ENVIRONMENT_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
| 11 #include "base/synchronization/waitable_event.h" | 11 #include "base/synchronization/waitable_event.h" |
| 12 #include "base/threading/thread.h" | 12 #include "base/threading/thread.h" |
| 13 #import "ios/crnet/CrNet.h" | 13 #import "ios/crnet/CrNet.h" |
| 14 #include "net/url_request/url_request.h" | 14 #include "net/url_request/url_request.h" |
| 15 #include "net/url_request/url_request_context.h" | 15 #include "net/url_request/url_request_context.h" |
| 16 | 16 |
| 17 class JsonPrefStore; | 17 class JsonPrefStore; |
| 18 | 18 |
| 19 namespace net { | 19 namespace net { |
| 20 class CookieStore; |
| 20 class HttpCache; | 21 class HttpCache; |
| 21 class NetworkChangeNotifier; | 22 class NetworkChangeNotifier; |
| 22 class NetLog; | 23 class NetLog; |
| 23 class ProxyConfigService; | 24 class ProxyConfigService; |
| 24 class SdchManager; | 25 class SdchManager; |
| 25 class SdchOwner; | 26 class SdchOwner; |
| 26 class URLRequestContextGetter; | 27 class URLRequestContextGetter; |
| 27 class WriteToFileNetLogObserver; | 28 class WriteToFileNetLogObserver; |
| 28 } | 29 } |
| 29 | 30 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 scoped_ptr<base::Thread> network_cache_thread_; | 149 scoped_ptr<base::Thread> network_cache_thread_; |
| 149 scoped_ptr<base::Thread> file_thread_; | 150 scoped_ptr<base::Thread> file_thread_; |
| 150 scoped_ptr<base::Thread> file_user_blocking_thread_; | 151 scoped_ptr<base::Thread> file_user_blocking_thread_; |
| 151 scoped_ptr<net::SdchManager> sdch_manager_; | 152 scoped_ptr<net::SdchManager> sdch_manager_; |
| 152 scoped_ptr<net::SdchOwner> sdch_owner_; | 153 scoped_ptr<net::SdchOwner> sdch_owner_; |
| 153 scoped_refptr<base::SequencedTaskRunner> pref_store_worker_pool_; | 154 scoped_refptr<base::SequencedTaskRunner> pref_store_worker_pool_; |
| 154 scoped_refptr<JsonPrefStore> net_pref_store_; | 155 scoped_refptr<JsonPrefStore> net_pref_store_; |
| 155 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; | 156 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; |
| 156 scoped_ptr<net::ProxyConfigService> proxy_config_service_; | 157 scoped_ptr<net::ProxyConfigService> proxy_config_service_; |
| 157 scoped_ptr<net::HttpServerProperties> http_server_properties_; | 158 scoped_ptr<net::HttpServerProperties> http_server_properties_; |
| 159 scoped_ptr<net::CookieStore> cookie_store_; |
| 158 scoped_refptr<net::URLRequestContextGetter> main_context_getter_; | 160 scoped_refptr<net::URLRequestContextGetter> main_context_getter_; |
| 159 scoped_ptr<net::URLRequestContext> main_context_; | 161 scoped_ptr<net::URLRequestContext> main_context_; |
| 160 scoped_ptr<CrNetHttpProtocolHandlerDelegate> http_protocol_handler_delegate_; | 162 scoped_ptr<CrNetHttpProtocolHandlerDelegate> http_protocol_handler_delegate_; |
| 161 std::string user_agent_product_name_; | 163 std::string user_agent_product_name_; |
| 162 scoped_ptr<net::NetLog> net_log_; | 164 scoped_ptr<net::NetLog> net_log_; |
| 163 scoped_ptr<net::WriteToFileNetLogObserver> net_log_observer_; | 165 scoped_ptr<net::WriteToFileNetLogObserver> net_log_observer_; |
| 164 | 166 |
| 165 DISALLOW_COPY_AND_ASSIGN(CrNetEnvironment); | 167 DISALLOW_COPY_AND_ASSIGN(CrNetEnvironment); |
| 166 }; | 168 }; |
| 167 | 169 |
| 168 #endif // IOS_CRNET_CRNET_ENVIRONMENT_H_ | 170 #endif // IOS_CRNET_CRNET_ENVIRONMENT_H_ |
| OLD | NEW |