| OLD | NEW |
| 1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING | 5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
| 6 // | 6 // |
| 7 // This is an early draft of background thread support. | 7 // This is an early draft of background thread support. |
| 8 // Until it is complete, we assume that all proxy functions | 8 // Until it is complete, we assume that all proxy functions |
| 9 // (except CallOnMainThread) are called on the main PPAPI thread. | 9 // (except CallOnMainThread) are called on the main PPAPI thread. |
| 10 // | 10 // |
| 11 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING | 11 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 ppapi_proxy::CompletionCallbackTable::Get()->AddCallback(callback); | 62 ppapi_proxy::CompletionCallbackTable::Get()->AddCallback(callback); |
| 63 if (callback_id == 0) { | 63 if (callback_id == 0) { |
| 64 DebugPrintf("PluginUpcallCoreCallOnMainThread: NULL callback.\n"); | 64 DebugPrintf("PluginUpcallCoreCallOnMainThread: NULL callback.\n"); |
| 65 return; | 65 return; |
| 66 } | 66 } |
| 67 (void) PppUpcallRpcClient::PPB_Core_CallOnMainThread( | 67 (void) PppUpcallRpcClient::PPB_Core_CallOnMainThread( |
| 68 upcall_channel, delay_in_milliseconds, callback_id, result); | 68 upcall_channel, delay_in_milliseconds, callback_id, result); |
| 69 } | 69 } |
| 70 | 70 |
| 71 } // namespace ppapi_proxy | 71 } // namespace ppapi_proxy |
| OLD | NEW |