| 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/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
| 10 #include "base/synchronization/waitable_event.h" | 11 #include "base/synchronization/waitable_event.h" |
| 11 #include "base/threading/thread.h" | 12 #include "base/threading/thread.h" |
| 12 #import "ios/crnet/CrNet.h" | 13 #import "ios/crnet/CrNet.h" |
| 13 #include "net/url_request/url_request.h" | 14 #include "net/url_request/url_request.h" |
| 14 #include "net/url_request/url_request_context.h" | 15 #include "net/url_request/url_request_context.h" |
| 15 | 16 |
| 16 class JsonPrefStore; | 17 class JsonPrefStore; |
| 17 | 18 |
| 18 namespace net { | 19 namespace net { |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 scoped_ptr<net::URLRequestContext> main_context_; | 159 scoped_ptr<net::URLRequestContext> main_context_; |
| 159 scoped_ptr<CrNetHttpProtocolHandlerDelegate> http_protocol_handler_delegate_; | 160 scoped_ptr<CrNetHttpProtocolHandlerDelegate> http_protocol_handler_delegate_; |
| 160 std::string user_agent_product_name_; | 161 std::string user_agent_product_name_; |
| 161 scoped_ptr<net::NetLog> net_log_; | 162 scoped_ptr<net::NetLog> net_log_; |
| 162 scoped_ptr<net::WriteToFileNetLogObserver> net_log_observer_; | 163 scoped_ptr<net::WriteToFileNetLogObserver> net_log_observer_; |
| 163 | 164 |
| 164 DISALLOW_COPY_AND_ASSIGN(CrNetEnvironment); | 165 DISALLOW_COPY_AND_ASSIGN(CrNetEnvironment); |
| 165 }; | 166 }; |
| 166 | 167 |
| 167 #endif // IOS_CRNET_CRNET_ENVIRONMENT_H_ | 168 #endif // IOS_CRNET_CRNET_ENVIRONMENT_H_ |
| OLD | NEW |