Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(447)

Unified Diff: chrome/browser/browser_process.h

Issue 8366020: Create a secondary file thread, FILE_USER_BLOCKING... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process.h
===================================================================
--- chrome/browser/browser_process.h (revision 111751)
+++ chrome/browser/browser_process.h (working copy)
@@ -124,6 +124,10 @@
// If you still must use this check the return value for NULL.
virtual IOThread* io_thread() = 0;
+ // Returns the thread used for file system operations that block user
+ // interactions. Responsiveness of this thread affect users.
+ virtual base::Thread* file_user_blocking_thread() = 0;
jam 2011/11/29 17:31:09 Joi is actually planning on removing the base::Thr
michaeln 2011/11/29 21:05:28 Done.
+
// Returns the thread that we perform random file operations on. For code
// that wants to do I/O operations (not network requests or even file: URL
// requests), this is the thread to use to avoid blocking the UI thread.
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698