| 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 #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 <string> | 10 #include <string> |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "chrome/browser/browser_process_sub_thread.h" | 14 #include "chrome/browser/browser_process_sub_thread.h" |
| 15 #include "chrome/browser/prefs/pref_member.h" |
| 15 #include "chrome/common/net/predictor_common.h" | 16 #include "chrome/common/net/predictor_common.h" |
| 16 #include "net/base/network_change_notifier.h" | 17 #include "net/base/network_change_notifier.h" |
| 17 | 18 |
| 18 class ChromeNetLog; | 19 class ChromeNetLog; |
| 19 class ChromeURLRequestContextGetter; | 20 class ChromeURLRequestContextGetter; |
| 20 class ExtensionEventRouterForwarder; | 21 class ExtensionEventRouterForwarder; |
| 21 class ListValue; | 22 class ListValue; |
| 22 class PrefProxyConfigTracker; | 23 class PrefProxyConfigTracker; |
| 23 class PrefService; | 24 class PrefService; |
| 24 class SystemURLRequestContextGetter; | 25 class SystemURLRequestContextGetter; |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 175 |
| 175 // These member variables are initialized in Init() and do not change for the | 176 // These member variables are initialized in Init() and do not change for the |
| 176 // lifetime of the IO thread. | 177 // lifetime of the IO thread. |
| 177 | 178 |
| 178 Globals* globals_; | 179 Globals* globals_; |
| 179 | 180 |
| 180 // Observer that logs network changes to the ChromeNetLog. | 181 // Observer that logs network changes to the ChromeNetLog. |
| 181 scoped_ptr<net::NetworkChangeNotifier::IPAddressObserver> | 182 scoped_ptr<net::NetworkChangeNotifier::IPAddressObserver> |
| 182 network_change_observer_; | 183 network_change_observer_; |
| 183 | 184 |
| 185 BooleanPrefMember system_enable_referrers_; |
| 186 |
| 184 // Store HTTP Auth-related policies in this thread. | 187 // Store HTTP Auth-related policies in this thread. |
| 185 std::string auth_schemes_; | 188 std::string auth_schemes_; |
| 186 bool negotiate_disable_cname_lookup_; | 189 bool negotiate_disable_cname_lookup_; |
| 187 bool negotiate_enable_port_; | 190 bool negotiate_enable_port_; |
| 188 std::string auth_server_whitelist_; | 191 std::string auth_server_whitelist_; |
| 189 std::string auth_delegate_whitelist_; | 192 std::string auth_delegate_whitelist_; |
| 190 std::string gssapi_library_name_; | 193 std::string gssapi_library_name_; |
| 191 | 194 |
| 192 // These member variables are initialized by a task posted to the IO thread, | 195 // These member variables are initialized by a task posted to the IO thread, |
| 193 // which gets posted by calling certain member functions of IOThread. | 196 // which gets posted by calling certain member functions of IOThread. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 208 | 211 |
| 209 // Keeps track of all live ChromeURLRequestContextGetters, so the | 212 // Keeps track of all live ChromeURLRequestContextGetters, so the |
| 210 // ChromeURLRequestContexts can be released during | 213 // ChromeURLRequestContexts can be released during |
| 211 // IOThread::CleanUp(). | 214 // IOThread::CleanUp(). |
| 212 std::list<ChromeURLRequestContextGetter*> url_request_context_getters_; | 215 std::list<ChromeURLRequestContextGetter*> url_request_context_getters_; |
| 213 | 216 |
| 214 DISALLOW_COPY_AND_ASSIGN(IOThread); | 217 DISALLOW_COPY_AND_ASSIGN(IOThread); |
| 215 }; | 218 }; |
| 216 | 219 |
| 217 #endif // CHROME_BROWSER_IO_THREAD_H_ | 220 #endif // CHROME_BROWSER_IO_THREAD_H_ |
| OLD | NEW |