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

Unified Diff: content/utility/utility_thread_impl.h

Issue 18119009: Make utility process run in-process when running in single-process mode. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: undo unnecessary changes Created 7 years, 5 months 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 | « content/public/common/content_client.cc ('k') | content/utility/utility_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/utility/utility_thread_impl.h
===================================================================
--- content/utility/utility_thread_impl.h (revision 210446)
+++ content/utility/utility_thread_impl.h (working copy)
@@ -26,6 +26,8 @@
public ChildThread {
public:
UtilityThreadImpl();
+ // Constructor that's used when running in single process mode.
+ explicit UtilityThreadImpl(const std::string& channel_name);
virtual ~UtilityThreadImpl();
virtual void Shutdown() OVERRIDE;
@@ -37,6 +39,8 @@
#endif
private:
+ void Init();
+
// ChildThread implementation.
virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE;
@@ -51,6 +55,9 @@
// True when we're running in batch mode.
bool batch_mode_;
+ // True if running in single process mode.
+ bool single_process_;
+
scoped_ptr<WebKitPlatformSupportImpl> webkit_platform_support_;
DISALLOW_COPY_AND_ASSIGN(UtilityThreadImpl);
« no previous file with comments | « content/public/common/content_client.cc ('k') | content/utility/utility_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698