| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef BASE_THREAD_H_ | 5 #ifndef BASE_THREAD_H_ |
| 6 #define BASE_THREAD_H_ | 6 #define BASE_THREAD_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include <string> | 8 #include <string> |
| 10 | 9 |
| 11 #include "base/base_export.h" | 10 #include "base/base_export.h" |
| 12 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
| 13 #include "base/message_loop_proxy.h" | 12 #include "base/message_loop_proxy.h" |
| 14 #include "base/threading/platform_thread.h" | 13 #include "base/threading/platform_thread.h" |
| 15 | 14 |
| 16 namespace base { | 15 namespace base { |
| 17 | 16 |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 std::string name_; | 183 std::string name_; |
| 185 | 184 |
| 186 friend void ThreadQuitHelper(); | 185 friend void ThreadQuitHelper(); |
| 187 | 186 |
| 188 DISALLOW_COPY_AND_ASSIGN(Thread); | 187 DISALLOW_COPY_AND_ASSIGN(Thread); |
| 189 }; | 188 }; |
| 190 | 189 |
| 191 } // namespace base | 190 } // namespace base |
| 192 | 191 |
| 193 #endif // BASE_THREAD_H_ | 192 #endif // BASE_THREAD_H_ |
| OLD | NEW |