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/prefs/pref_member.h" | |
14 #include "chrome/browser/browser_process_sub_thread.h" | 15 #include "chrome/browser/browser_process_sub_thread.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; |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
200 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 201 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
201 | 202 |
202 scoped_refptr<net::URLRequestContextGetter> | 203 scoped_refptr<net::URLRequestContextGetter> |
203 system_url_request_context_getter_; | 204 system_url_request_context_getter_; |
204 | 205 |
205 // Keeps track of all live ChromeURLRequestContextGetters, so the | 206 // Keeps track of all live ChromeURLRequestContextGetters, so the |
206 // ChromeURLRequestContexts can be released during | 207 // ChromeURLRequestContexts can be released during |
207 // IOThread::CleanUp(). | 208 // IOThread::CleanUp(). |
208 std::list<ChromeURLRequestContextGetter*> url_request_context_getters_; | 209 std::list<ChromeURLRequestContextGetter*> url_request_context_getters_; |
209 | 210 |
211 // Weak, owned by the ChromeNetworkDelegate (which is transitively owned | |
willchan no longer on Chromium
2011/04/08 19:10:37
Why don't you just put this in the ChromeNetworkDe
| |
212 // by us). | |
213 BooleanPrefMember* enable_referrers_; | |
214 | |
210 DISALLOW_COPY_AND_ASSIGN(IOThread); | 215 DISALLOW_COPY_AND_ASSIGN(IOThread); |
211 }; | 216 }; |
212 | 217 |
213 #endif // CHROME_BROWSER_IO_THREAD_H_ | 218 #endif // CHROME_BROWSER_IO_THREAD_H_ |
OLD | NEW |