| OLD | NEW |
| 1 /* Copyright (c) 2011 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 | 5 |
| 6 /** | 6 /** |
| 7 * This file defines the <code>PPB_Core</code> interface defined by the browser | 7 * This file defines the <code>PPB_Core</code> interface defined by the browser |
| 8 * and containing pointers to functions related to memory management, time, and | 8 * and containing pointers to functions related to memory management, time, and |
| 9 * threads. | 9 * threads. |
| 10 */ | 10 */ |
| 11 | 11 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 * | 92 * |
| 93 * This function is useful for implementing sanity checks, and deciding if | 93 * This function is useful for implementing sanity checks, and deciding if |
| 94 * dispatching using CallOnMainThread() is required. | 94 * dispatching using CallOnMainThread() is required. |
| 95 * | 95 * |
| 96 * @return A <code>PP_Bool</code> containing <code>PP_TRUE</code> if the | 96 * @return A <code>PP_Bool</code> containing <code>PP_TRUE</code> if the |
| 97 * current thread is the main pepper thread, otherwise <code>PP_FALSE</code>. | 97 * current thread is the main pepper thread, otherwise <code>PP_FALSE</code>. |
| 98 */ | 98 */ |
| 99 PP_Bool IsMainThread(); | 99 PP_Bool IsMainThread(); |
| 100 }; | 100 }; |
| 101 | 101 |
| OLD | NEW |