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 <string> | 9 #include <string> |
10 | 10 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 class SdchManager; | 42 class SdchManager; |
43 class SSLConfigService; | 43 class SSLConfigService; |
44 class TransportSecurityState; | 44 class TransportSecurityState; |
45 class URLRequestContext; | 45 class URLRequestContext; |
46 class URLRequestContextGetter; | 46 class URLRequestContextGetter; |
47 class URLSecurityManager; | 47 class URLSecurityManager; |
48 } // namespace net | 48 } // namespace net |
49 | 49 |
50 // Contains state associated with, initialized and cleaned up on, and | 50 // Contains state associated with, initialized and cleaned up on, and |
51 // primarily used on, the IO thread. | 51 // primarily used on, the IO thread. |
| 52 // |
| 53 // If you are looking to interact with the IO thread (e.g. post tasks |
| 54 // to it or check if it is the current thread), see |
| 55 // content::BrowserThread. |
52 class IOThread : public content::BrowserThreadDelegate { | 56 class IOThread : public content::BrowserThreadDelegate { |
53 public: | 57 public: |
54 struct Globals { | 58 struct Globals { |
55 Globals(); | 59 Globals(); |
56 ~Globals(); | 60 ~Globals(); |
57 | 61 |
58 struct MediaGlobals { | 62 struct MediaGlobals { |
59 MediaGlobals(); | 63 MediaGlobals(); |
60 ~MediaGlobals(); | 64 ~MediaGlobals(); |
61 // MediaInternals singleton used to aggregate media information. | 65 // MediaInternals singleton used to aggregate media information. |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 system_url_request_context_getter_; | 203 system_url_request_context_getter_; |
200 | 204 |
201 net::SdchManager* sdch_manager_; | 205 net::SdchManager* sdch_manager_; |
202 | 206 |
203 base::WeakPtrFactory<IOThread> weak_factory_; | 207 base::WeakPtrFactory<IOThread> weak_factory_; |
204 | 208 |
205 DISALLOW_COPY_AND_ASSIGN(IOThread); | 209 DISALLOW_COPY_AND_ASSIGN(IOThread); |
206 }; | 210 }; |
207 | 211 |
208 #endif // CHROME_BROWSER_IO_THREAD_H_ | 212 #endif // CHROME_BROWSER_IO_THREAD_H_ |
OLD | NEW |