| 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 PPAPI_UTILITY_THREADING_SIMPLE_THREAD_H_ | 5 #ifndef PPAPI_UTILITY_THREADING_SIMPLE_THREAD_H_ |
| 6 #define PPAPI_UTILITY_THREADING_SIMPLE_THREAD_H_ | 6 #define PPAPI_UTILITY_THREADING_SIMPLE_THREAD_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 8 #ifdef WIN32 | 9 #ifdef WIN32 |
| 9 #include <windows.h> | 10 #include <windows.h> |
| 10 #else | 11 #else |
| 11 #include <pthread.h> | 12 #include <pthread.h> |
| 12 #endif | 13 #endif |
| 13 | 14 |
| 14 #include "ppapi/cpp/instance_handle.h" | 15 #include "ppapi/cpp/instance_handle.h" |
| 15 #include "ppapi/cpp/message_loop.h" | 16 #include "ppapi/cpp/message_loop.h" |
| 16 | 17 |
| 17 namespace pp { | 18 namespace pp { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 // Disallow (not implemented). | 60 // Disallow (not implemented). |
| 60 SimpleThread(const SimpleThread&); | 61 SimpleThread(const SimpleThread&); |
| 61 SimpleThread(const SimpleThread&, size_t stacksize); | 62 SimpleThread(const SimpleThread&, size_t stacksize); |
| 62 SimpleThread& operator=(const SimpleThread&); | 63 SimpleThread& operator=(const SimpleThread&); |
| 63 }; | 64 }; |
| 64 | 65 |
| 65 } // namespace pp | 66 } // namespace pp |
| 66 | 67 |
| 67 #endif // PPAPI_UTILITY_THREADING_SIMPLE_THREAD_H_ | 68 #endif // PPAPI_UTILITY_THREADING_SIMPLE_THREAD_H_ |
| 68 | 69 |
| OLD | NEW |