| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "ipc/ipc_message.h" | 5 #include "ipc/ipc_message.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #if defined(OS_POSIX) | 10 #if defined(OS_POSIX) |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 return descriptor->fd >= 0; | 116 return descriptor->fd >= 0; |
| 117 } | 117 } |
| 118 | 118 |
| 119 void Message::EnsureFileDescriptorSet() { | 119 void Message::EnsureFileDescriptorSet() { |
| 120 if (file_descriptor_set_.get() == NULL) | 120 if (file_descriptor_set_.get() == NULL) |
| 121 file_descriptor_set_ = new FileDescriptorSet; | 121 file_descriptor_set_ = new FileDescriptorSet; |
| 122 } | 122 } |
| 123 | 123 |
| 124 #endif | 124 #endif |
| 125 | 125 |
| 126 } // namespace IPC | 126 } // namespace IPC |
| OLD | NEW |