Chromium Code Reviews| 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 e.g. post tasks to the IO thread or check if | |
|
Avi (use Gerrit)
2011/12/13 14:56:31
I've never seen e.g. used that way. Perhaps:
"If
Jói
2011/12/13 15:09:59
Updated to that. Committing now via CQ.
| |
| 54 // you are executing on the IO thread, see content::BrowserThread. | |
| 52 class IOThread : public content::BrowserThreadDelegate { | 55 class IOThread : public content::BrowserThreadDelegate { |
| 53 public: | 56 public: |
| 54 struct Globals { | 57 struct Globals { |
| 55 Globals(); | 58 Globals(); |
| 56 ~Globals(); | 59 ~Globals(); |
| 57 | 60 |
| 58 struct MediaGlobals { | 61 struct MediaGlobals { |
| 59 MediaGlobals(); | 62 MediaGlobals(); |
| 60 ~MediaGlobals(); | 63 ~MediaGlobals(); |
| 61 // MediaInternals singleton used to aggregate media information. | 64 // 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_; | 202 system_url_request_context_getter_; |
| 200 | 203 |
| 201 net::SdchManager* sdch_manager_; | 204 net::SdchManager* sdch_manager_; |
| 202 | 205 |
| 203 base::WeakPtrFactory<IOThread> weak_factory_; | 206 base::WeakPtrFactory<IOThread> weak_factory_; |
| 204 | 207 |
| 205 DISALLOW_COPY_AND_ASSIGN(IOThread); | 208 DISALLOW_COPY_AND_ASSIGN(IOThread); |
| 206 }; | 209 }; |
| 207 | 210 |
| 208 #endif // CHROME_BROWSER_IO_THREAD_H_ | 211 #endif // CHROME_BROWSER_IO_THREAD_H_ |
| OLD | NEW |