| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/threading/thread.h" | 5 #include "base/threading/thread.h" |
| 6 | 6 |
| 7 #include "base/lazy_instance.h" | 7 #include "base/lazy_instance.h" |
| 8 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" | 8 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" |
| 9 #include "base/threading/thread_local.h" | 9 #include "base/threading/thread_local.h" |
| 10 #include "base/synchronization/waitable_event.h" | 10 #include "base/synchronization/waitable_event.h" |
| 11 | 11 |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 // Assert that MessageLoop::Quit was called by ThreadQuitTask. | 168 // Assert that MessageLoop::Quit was called by ThreadQuitTask. |
| 169 DCHECK(GetThreadWasQuitProperly()); | 169 DCHECK(GetThreadWasQuitProperly()); |
| 170 | 170 |
| 171 // We can't receive messages anymore. | 171 // We can't receive messages anymore. |
| 172 message_loop_ = NULL; | 172 message_loop_ = NULL; |
| 173 } | 173 } |
| 174 thread_id_ = kInvalidThreadId; | 174 thread_id_ = kInvalidThreadId; |
| 175 } | 175 } |
| 176 | 176 |
| 177 } // namespace base | 177 } // namespace base |
| OLD | NEW |