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

Unified Diff: content/browser/browser_main_loop.h

Issue 8477004: Have content/ create and destroy its own threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More IWYU, missing link-time dependency for Chrome Frame. 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.h
diff --git a/content/browser/browser_main_loop.h b/content/browser/browser_main_loop.h
index 8642e4ff550e40f0be25468c5019fad2cdc11bcc..c04555f082aaecc157897ab4db6c177977c7bebb 100644
--- a/content/browser/browser_main_loop.h
+++ b/content/browser/browser_main_loop.h
@@ -10,6 +10,7 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
+#include "content/browser/browser_process_sub_thread.h"
class CommandLine;
class HighResolutionTimerManager;
@@ -65,6 +66,14 @@ class BrowserMainLoop {
scoped_ptr<HighResolutionTimerManager> hi_res_timer_manager_;
scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_;
scoped_ptr<BrowserThreadImpl> main_thread_;
+ scoped_ptr<BrowserProcessSubThread> io_thread_;
+ scoped_ptr<BrowserProcessSubThread> file_thread_;
+ scoped_ptr<BrowserProcessSubThread> db_thread_;
+ scoped_ptr<BrowserProcessSubThread> process_launcher_thread_;
+ scoped_ptr<BrowserProcessSubThread> cache_thread_;
+#if defined(OS_CHROMEOS)
+ scoped_ptr<BrowserProcessSubThread> web_socket_proxy_thread_;
+#endif
DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop);
};

Powered by Google App Engine
This is Rietveld 408576698