From 640579651b4a52f58d96db3a693274e3db47efda Mon Sep 17 00:00:00 2001 From: "paul@chromium.org" Date: Tue, 18 Aug 2009 01:27:01 +0000 Subject: Add the UI thread to the list of ChromeThreads. BUG=none TEST=none Review URL: http://codereview.chromium.org/171088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23605 0039d316-1c4b-4281-b951-d872f2087c98 --- base/thread.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'base/thread.h') diff --git a/base/thread.h b/base/thread.h index ae1b513..d1aae0e 100644 --- a/base/thread.h +++ b/base/thread.h @@ -120,6 +120,10 @@ class Thread : PlatformThread::Delegate { static void SetThreadWasQuitProperly(bool flag); static bool GetThreadWasQuitProperly(); + void set_message_loop(MessageLoop* message_loop) { + message_loop_ = message_loop; + } + private: // PlatformThread::Delegate methods: virtual void ThreadMain(); -- cgit v1.1