OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <string> | 9 #include <string> |
10 | 10 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 // to the IOThread. IOThread owns them all, despite not using scoped_ptr. | 177 // to the IOThread. IOThread owns them all, despite not using scoped_ptr. |
178 // This is because the destructor of IOThread runs on the wrong thread. All | 178 // This is because the destructor of IOThread runs on the wrong thread. All |
179 // member variables should be deleted in CleanUp(). | 179 // member variables should be deleted in CleanUp(). |
180 | 180 |
181 // These member variables are initialized in Init() and do not change for the | 181 // These member variables are initialized in Init() and do not change for the |
182 // lifetime of the IO thread. | 182 // lifetime of the IO thread. |
183 | 183 |
184 Globals* globals_; | 184 Globals* globals_; |
185 | 185 |
186 // Observer that logs network changes to the ChromeNetLog. | 186 // Observer that logs network changes to the ChromeNetLog. |
187 scoped_ptr<net::NetworkChangeNotifier::IPAddressObserver> | 187 class LoggingNetworkChangeObserver; |
188 network_change_observer_; | 188 scoped_ptr<LoggingNetworkChangeObserver> network_change_observer_; |
189 | 189 |
190 BooleanPrefMember system_enable_referrers_; | 190 BooleanPrefMember system_enable_referrers_; |
191 | 191 |
192 // Store HTTP Auth-related policies in this thread. | 192 // Store HTTP Auth-related policies in this thread. |
193 std::string auth_schemes_; | 193 std::string auth_schemes_; |
194 bool negotiate_disable_cname_lookup_; | 194 bool negotiate_disable_cname_lookup_; |
195 bool negotiate_enable_port_; | 195 bool negotiate_enable_port_; |
196 std::string auth_server_whitelist_; | 196 std::string auth_server_whitelist_; |
197 std::string auth_delegate_whitelist_; | 197 std::string auth_delegate_whitelist_; |
198 std::string gssapi_library_name_; | 198 std::string gssapi_library_name_; |
(...skipping 12 matching lines...) Expand all Loading... |
211 system_url_request_context_getter_; | 211 system_url_request_context_getter_; |
212 | 212 |
213 net::SdchManager* sdch_manager_; | 213 net::SdchManager* sdch_manager_; |
214 | 214 |
215 base::WeakPtrFactory<IOThread> weak_factory_; | 215 base::WeakPtrFactory<IOThread> weak_factory_; |
216 | 216 |
217 DISALLOW_COPY_AND_ASSIGN(IOThread); | 217 DISALLOW_COPY_AND_ASSIGN(IOThread); |
218 }; | 218 }; |
219 | 219 |
220 #endif // CHROME_BROWSER_IO_THREAD_H_ | 220 #endif // CHROME_BROWSER_IO_THREAD_H_ |
OLD | NEW |