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); |