Xxhwang@chromium.orgUse enum instead of string in MessageLoopFactory::GetMessageLoop*
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Use enum instead of string in MessageLoopFactory::GetMessageLoop* This reinforces that only certain thread/message_loop can be created, which also makes thread/message_loop access easier and more reliable. Also use scoped_refptr<MessageLoopProxy> instead of raw MessageLoop pointer in various places. BUG=none TEST=media_unittest, content_unittest and normal <video> playback. Review URL: https://chromiumcodereview.appspot.com/10855051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151204 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |