| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 bool tryGetMessage(RefPtr<SerializedScriptValue>& message, | 134 bool tryGetMessage(RefPtr<SerializedScriptValue>& message, |
| 135 MessagePortChannelArray& channels); | 135 MessagePortChannelArray& channels); |
| 136 | 136 |
| 137 private: | 137 private: |
| 138 // WebMessagePortChannelClient implementation. | 138 // WebMessagePortChannelClient implementation. |
| 139 void messageAvailable() override; | 139 void messageAvailable() override; |
| 140 void dispatchMessages(); | 140 void dispatchMessages(); |
| 141 | 141 |
| 142 WebMessagePortChannelUniquePtr m_entangledChannel; | 142 WebMessagePortChannelUniquePtr m_entangledChannel; |
| 143 | 143 |
| 144 int m_pendingDispatchTask; |
| 144 bool m_started; | 145 bool m_started; |
| 145 bool m_closed; | 146 bool m_closed; |
| 146 }; | 147 }; |
| 147 | 148 |
| 148 } // namespace blink | 149 } // namespace blink |
| 149 | 150 |
| 150 #endif // MessagePort_h | 151 #endif // MessagePort_h |
| OLD | NEW |