summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-21 08:05:28 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-21 08:05:28 +0000
commit8930d471c128ed74b11beaa78ea1b171c1ac7157 (patch)
tree5a20cb03c8e5019385709bc069e67f03488c41a1 /base
parenta41fae8db8109bfeed047015b77b0d9227118540 (diff)
downloadchromium_src-8930d471c128ed74b11beaa78ea1b171c1ac7157.zip
chromium_src-8930d471c128ed74b11beaa78ea1b171c1ac7157.tar.gz
chromium_src-8930d471c128ed74b11beaa78ea1b171c1ac7157.tar.bz2
Refactor code from RenderThread and PluginThread and move it to ChildThread. ChildProcess now owns the ChildThread, which removes duplicate code and simplifies things.
Clean up ChildProcess, there really was no need for all the templates and statics in it and its subclasses. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=10080 Review URL: http://codereview.chromium.org/21502 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10144 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/thread.h b/base/thread.h
index 5a51bec..4254168 100644
--- a/base/thread.h
+++ b/base/thread.h
@@ -29,6 +29,8 @@ class Thread : PlatformThread::Delegate {
size_t stack_size;
Options() : message_loop_type(MessageLoop::TYPE_DEFAULT), stack_size(0) {}
+ Options(MessageLoop::Type type, size_t size)
+ : message_loop_type(type), stack_size(size) {}
};
// Constructor.