OLD | NEW |
1 // Copyright (c) 2011 The Chromium 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 #include "content/child/webmessageportchannel_impl.h" | 5 #include "content/child/webmessageportchannel_impl.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/values.h" | 10 #include "base/values.h" |
9 #include "content/child/child_process.h" | 11 #include "content/child/child_process.h" |
10 #include "content/child/child_thread_impl.h" | 12 #include "content/child/child_thread_impl.h" |
11 #include "content/common/message_port_messages.h" | 13 #include "content/common/message_port_messages.h" |
12 #include "content/public/child/v8_value_converter.h" | 14 #include "content/public/child/v8_value_converter.h" |
13 #include "third_party/WebKit/public/platform/WebMessagePortChannelClient.h" | 15 #include "third_party/WebKit/public/platform/WebMessagePortChannelClient.h" |
14 #include "third_party/WebKit/public/platform/WebString.h" | 16 #include "third_party/WebKit/public/platform/WebString.h" |
15 #include "third_party/WebKit/public/web/WebSerializedScriptValue.h" | 17 #include "third_party/WebKit/public/web/WebSerializedScriptValue.h" |
16 #include "v8/include/v8.h" | 18 #include "v8/include/v8.h" |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 | 345 |
344 Release(); | 346 Release(); |
345 ChildProcess::current()->ReleaseProcess(); | 347 ChildProcess::current()->ReleaseProcess(); |
346 } | 348 } |
347 | 349 |
348 WebMessagePortChannelImpl::Message::Message() {} | 350 WebMessagePortChannelImpl::Message::Message() {} |
349 | 351 |
350 WebMessagePortChannelImpl::Message::~Message() {} | 352 WebMessagePortChannelImpl::Message::~Message() {} |
351 | 353 |
352 } // namespace content | 354 } // namespace content |
OLD | NEW |