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

Unified Diff: content/browser/browser_main_loop.cc

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
Index: content/browser/browser_main_loop.cc
===================================================================
--- content/browser/browser_main_loop.cc (revision 111751)
+++ content/browser/browser_main_loop.cc (working copy)
@@ -323,6 +323,9 @@
// this is fixed, we don't start the thread but still call
// Pre/PostStartThread for the ID.
break;
+ case BrowserThread::FILE_USER_BLOCKING:
+ thread_to_start = &file_user_blocking_thread_;
+ break;
case BrowserThread::FILE:
thread_to_start = &file_thread_;
#if defined(OS_WIN)
@@ -446,6 +449,9 @@
// this is fixed, we don't stop the thread but still call
// Pre/PostStopThread for the ID.
break;
+ case BrowserThread::FILE_USER_BLOCKING:
+ thread_to_stop = &file_user_blocking_thread_;
+ break;
case BrowserThread::FILE:
thread_to_stop = &file_thread_;
break;

Powered by Google App Engine
This is Rietveld 408576698