| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #include <memory> |
| 12 |
| 11 #include "webrtc/base/asyncinvoker.h" | 13 #include "webrtc/base/asyncinvoker.h" |
| 12 #include "webrtc/base/asyncudpsocket.h" | 14 #include "webrtc/base/asyncudpsocket.h" |
| 13 #include "webrtc/base/event.h" | 15 #include "webrtc/base/event.h" |
| 14 #include "webrtc/base/gunit.h" | 16 #include "webrtc/base/gunit.h" |
| 15 #include "webrtc/base/physicalsocketserver.h" | 17 #include "webrtc/base/physicalsocketserver.h" |
| 16 #include "webrtc/base/sigslot.h" | 18 #include "webrtc/base/sigslot.h" |
| 17 #include "webrtc/base/socketaddress.h" | 19 #include "webrtc/base/socketaddress.h" |
| 18 #include "webrtc/base/thread.h" | 20 #include "webrtc/base/thread.h" |
| 19 | 21 |
| 20 #if defined(WEBRTC_WIN) | 22 #if defined(WEBRTC_WIN) |
| (...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 755 }; | 757 }; |
| 756 | 758 |
| 757 TEST_F(ComThreadTest, ComInited) { | 759 TEST_F(ComThreadTest, ComInited) { |
| 758 Thread* thread = new ComThread(); | 760 Thread* thread = new ComThread(); |
| 759 EXPECT_TRUE(thread->Start()); | 761 EXPECT_TRUE(thread->Start()); |
| 760 thread->Post(this, 0); | 762 thread->Post(this, 0); |
| 761 EXPECT_TRUE_WAIT(done_, 1000); | 763 EXPECT_TRUE_WAIT(done_, 1000); |
| 762 delete thread; | 764 delete thread; |
| 763 } | 765 } |
| 764 #endif | 766 #endif |
| OLD | NEW |