| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "chrome/worker/nativewebworker_impl.h" | 5 #include "chrome/worker/nativewebworker_impl.h" |
| 6 | 6 |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 | 8 |
| 9 #undef LOG | 9 #undef LOG |
| 10 | 10 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 const WebKit::WebMessagePortChannelArray& channel) { | 157 const WebKit::WebMessagePortChannelArray& channel) { |
| 158 size_t len; | 158 size_t len; |
| 159 char* bufp = WebStringToCharp(message, &len); | 159 char* bufp = WebStringToCharp(message, &len); |
| 160 // Send a message to NaCl object | 160 // Send a message to NaCl object |
| 161 retval = NaClPostMessageToNativeWebWorker(bufp, len, &nap_, &channel_); | 161 retval = NaClPostMessageToNativeWebWorker(bufp, len, &nap_, &channel_); |
| 162 delete[] bufp; | 162 delete[] bufp; |
| 163 } | 163 } |
| 164 | 164 |
| 165 void NativeWebWorkerImpl::workerObjectDestroyed() { | 165 void NativeWebWorkerImpl::workerObjectDestroyed() { |
| 166 } | 166 } |
| 167 |
| 168 void NativeWebWorkerImpl::clientDestroyed() { |
| 169 } |
| OLD | NEW |