Chromium Code Reviews| Index: content/utility/utility_thread_impl.h |
| =================================================================== |
| --- content/utility/utility_thread_impl.h (revision 209067) |
| +++ 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 WebKit should be initialized in this thread. |
| + bool initialize_webkit_; |
|
scottmg
2013/07/01 19:37:20
might be clearer to call this single_process_ inst
|
| + |
| scoped_ptr<WebKitPlatformSupportImpl> webkit_platform_support_; |
| DISALLOW_COPY_AND_ASSIGN(UtilityThreadImpl); |