| 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 CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ | 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // This is the thread that interacts with the database. | 62 // This is the thread that interacts with the database. |
| 63 DB, | 63 DB, |
| 64 | 64 |
| 65 // This is the "main" thread for WebKit within the browser process when | 65 // This is the "main" thread for WebKit within the browser process when |
| 66 // NOT in --single-process mode. | 66 // NOT in --single-process mode. |
| 67 WEBKIT, | 67 WEBKIT, |
| 68 | 68 |
| 69 // This is the thread that interacts with the file system. | 69 // This is the thread that interacts with the file system. |
| 70 FILE, | 70 FILE, |
| 71 | 71 |
| 72 // Used for file system operations that block user interactions. |
| 73 // Responsiveness of this thread affect users. |
| 74 FILE_USER_BLOCKING, |
| 75 |
| 72 // Used to launch and terminate Chrome processes. | 76 // Used to launch and terminate Chrome processes. |
| 73 PROCESS_LAUNCHER, | 77 PROCESS_LAUNCHER, |
| 74 | 78 |
| 75 // This is the thread to handle slow HTTP cache operations. | 79 // This is the thread to handle slow HTTP cache operations. |
| 76 CACHE, | 80 CACHE, |
| 77 | 81 |
| 78 // This is the thread that processes IPC and network messages. | 82 // This is the thread that processes IPC and network messages. |
| 79 IO, | 83 IO, |
| 80 | 84 |
| 81 #if defined(OS_CHROMEOS) | 85 #if defined(OS_CHROMEOS) |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 private: | 266 private: |
| 263 friend class BrowserThreadImpl; | 267 friend class BrowserThreadImpl; |
| 264 | 268 |
| 265 BrowserThread() {} | 269 BrowserThread() {} |
| 266 DISALLOW_COPY_AND_ASSIGN(BrowserThread); | 270 DISALLOW_COPY_AND_ASSIGN(BrowserThread); |
| 267 }; | 271 }; |
| 268 | 272 |
| 269 } // namespace content | 273 } // namespace content |
| 270 | 274 |
| 271 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ | 275 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ |
| OLD | NEW |