summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_process_impl.cc')
-rw-r--r--chrome/browser/browser_process_impl.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index cb8cd4b..42cea7f 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -315,7 +315,13 @@ void BrowserProcessImpl::CreateFileThread() {
scoped_ptr<base::Thread> thread(
new BrowserProcessSubThread(ChromeThread::FILE));
base::Thread::Options options;
+#if defined(OS_WIN)
+ // On Windows, the FILE thread needs to be have a UI message loop which pumps
+ // messages in such a way that Google Update can communicate back to us.
options.message_loop_type = MessageLoop::TYPE_UI;
+#else
+ options.message_loop_type = MessageLoop::TYPE_IO;
+#endif
if (!thread->StartWithOptions(options))
return;
file_thread_.swap(thread);