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

Unified Diff: content/browser/utility_process_host_impl.h

Issue 23235002: Set up content in-process main threads via factory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: don't add targets (were already in !ios block) Created 7 years, 4 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
Index: content/browser/utility_process_host_impl.h
diff --git a/content/browser/utility_process_host_impl.h b/content/browser/utility_process_host_impl.h
index 6eecd3d89855cb58d10cf3f922cbba549620c84a..40f9acccba366bafae17ba034bf1912ec294da49 100644
--- a/content/browser/utility_process_host_impl.h
+++ b/content/browser/utility_process_host_impl.h
@@ -13,6 +13,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
+#include "base/threading/thread.h"
piman 2013/08/15 22:26:11 nit: forward declare instead?
scottmg 2013/08/15 22:40:37 Done.
#include "content/public/browser/browser_child_process_host_delegate.h"
#include "content/public/browser/utility_process_host.h"
@@ -22,7 +23,6 @@ class SequencedTaskRunner;
namespace content {
class BrowserChildProcessHostImpl;
-class UtilityMainThread;
class CONTENT_EXPORT UtilityProcessHostImpl
: public NON_EXPORTED_BASE(UtilityProcessHost),
@@ -83,10 +83,8 @@ class CONTENT_EXPORT UtilityProcessHostImpl
scoped_ptr<BrowserChildProcessHostImpl> process_;
-#if !defined(CHROME_MULTIPLE_DLL)
// Used in single-process mode instead of process_.
- scoped_ptr<UtilityMainThread> in_process_thread_;
-#endif
+ scoped_ptr<base::Thread> in_process_thread_;
DISALLOW_COPY_AND_ASSIGN(UtilityProcessHostImpl);
};
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698