| 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 #include "ppapi/proxy/proxy_channel.h" | 5 #include "ppapi/proxy/proxy_channel.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "build/build_config.h" |
| 8 #include "ipc/ipc_platform_file.h" | 9 #include "ipc/ipc_platform_file.h" |
| 9 #include "ipc/ipc_test_sink.h" | 10 #include "ipc/ipc_test_sink.h" |
| 10 | 11 |
| 11 #if defined(OS_NACL) | 12 #if defined(OS_NACL) |
| 12 #include <unistd.h> | 13 #include <unistd.h> |
| 13 #endif | 14 #endif |
| 14 | 15 |
| 15 namespace ppapi { | 16 namespace ppapi { |
| 16 namespace proxy { | 17 namespace proxy { |
| 17 | 18 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 if (channel_.get()) | 90 if (channel_.get()) |
| 90 return channel_->Send(msg); | 91 return channel_->Send(msg); |
| 91 | 92 |
| 92 // Remote side crashed, drop this message. | 93 // Remote side crashed, drop this message. |
| 93 delete msg; | 94 delete msg; |
| 94 return false; | 95 return false; |
| 95 } | 96 } |
| 96 | 97 |
| 97 } // namespace proxy | 98 } // namespace proxy |
| 98 } // namespace ppapi | 99 } // namespace ppapi |
| OLD | NEW |