| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_IO_THREAD_H_ | 5 #ifndef CHROME_BROWSER_IO_THREAD_H_ |
| 6 #define CHROME_BROWSER_IO_THREAD_H_ | 6 #define CHROME_BROWSER_IO_THREAD_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <list> | 9 #include <list> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 | 137 |
| 138 // Observer that logs network changes to the ChromeNetLog. | 138 // Observer that logs network changes to the ChromeNetLog. |
| 139 scoped_ptr<net::NetworkChangeNotifier::Observer> network_change_observer_; | 139 scoped_ptr<net::NetworkChangeNotifier::Observer> network_change_observer_; |
| 140 | 140 |
| 141 // Store HTTP Auth-related policies in this thread. | 141 // Store HTTP Auth-related policies in this thread. |
| 142 std::string auth_schemes_; | 142 std::string auth_schemes_; |
| 143 bool negotiate_disable_cname_lookup_; | 143 bool negotiate_disable_cname_lookup_; |
| 144 bool negotiate_enable_port_; | 144 bool negotiate_enable_port_; |
| 145 std::string auth_server_whitelist_; | 145 std::string auth_server_whitelist_; |
| 146 std::string auth_delegate_whitelist_; | 146 std::string auth_delegate_whitelist_; |
| 147 std::string gssapi_library_name_; |
| 147 | 148 |
| 148 // These member variables are initialized by a task posted to the IO thread, | 149 // These member variables are initialized by a task posted to the IO thread, |
| 149 // which gets posted by calling certain member functions of IOThread. | 150 // which gets posted by calling certain member functions of IOThread. |
| 150 | 151 |
| 151 // Note: we user explicit pointers rather than smart pointers to be more | 152 // Note: we user explicit pointers rather than smart pointers to be more |
| 152 // explicit about destruction order, and ensure that there is no chance that | 153 // explicit about destruction order, and ensure that there is no chance that |
| 153 // these observers would be used accidentally after we have begun to tear | 154 // these observers would be used accidentally after we have begun to tear |
| 154 // down. | 155 // down. |
| 155 chrome_browser_net::ConnectInterceptor* speculative_interceptor_; | 156 chrome_browser_net::ConnectInterceptor* speculative_interceptor_; |
| 156 chrome_browser_net::Predictor* predictor_; | 157 chrome_browser_net::Predictor* predictor_; |
| 157 | 158 |
| 158 // List of live ProxyScriptFetchers. | 159 // List of live ProxyScriptFetchers. |
| 159 ProxyScriptFetchers fetchers_; | 160 ProxyScriptFetchers fetchers_; |
| 160 | 161 |
| 161 // Keeps track of all live ChromeURLRequestContextGetters, so the | 162 // Keeps track of all live ChromeURLRequestContextGetters, so the |
| 162 // ChromeURLRequestContexts can be released during | 163 // ChromeURLRequestContexts can be released during |
| 163 // IOThread::CleanUpAfterMessageLoopDestruction(). | 164 // IOThread::CleanUpAfterMessageLoopDestruction(). |
| 164 std::list<ChromeURLRequestContextGetter*> url_request_context_getters_; | 165 std::list<ChromeURLRequestContextGetter*> url_request_context_getters_; |
| 165 | 166 |
| 166 DISALLOW_COPY_AND_ASSIGN(IOThread); | 167 DISALLOW_COPY_AND_ASSIGN(IOThread); |
| 167 }; | 168 }; |
| 168 | 169 |
| 169 #endif // CHROME_BROWSER_IO_THREAD_H_ | 170 #endif // CHROME_BROWSER_IO_THREAD_H_ |
| OLD | NEW |