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/common/webmessageportchannel_impl.h" | 5 #include "content/common/webmessageportchannel_impl.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "content/common/child_process.h" | 8 #include "content/common/child_process.h" |
9 #include "content/common/child_thread.h" | 9 #include "content/common/child_thread.h" |
10 #include "content/common/worker_messages.h" | 10 #include "content/common/worker_messages.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMessagePortChannel
Client.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMessagePortChannel
Client.h" |
13 | 13 |
14 using WebKit::WebMessagePortChannel; | 14 using WebKit::WebMessagePortChannel; |
15 using WebKit::WebMessagePortChannelArray; | 15 using WebKit::WebMessagePortChannelArray; |
16 using WebKit::WebMessagePortChannelClient; | 16 using WebKit::WebMessagePortChannelClient; |
17 using WebKit::WebString; | 17 using WebKit::WebString; |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 | 20 |
21 WebMessagePortChannelImpl::WebMessagePortChannelImpl() | 21 WebMessagePortChannelImpl::WebMessagePortChannelImpl() |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 | 245 |
246 Release(); | 246 Release(); |
247 ChildProcess::current()->ReleaseProcess(); | 247 ChildProcess::current()->ReleaseProcess(); |
248 } | 248 } |
249 | 249 |
250 WebMessagePortChannelImpl::Message::Message() {} | 250 WebMessagePortChannelImpl::Message::Message() {} |
251 | 251 |
252 WebMessagePortChannelImpl::Message::~Message() {} | 252 WebMessagePortChannelImpl::Message::~Message() {} |
253 | 253 |
254 } // namespace content | 254 } // namespace content |
OLD | NEW |