Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Side by Side Diff: chrome/common/webmessageportchannel_impl.cc

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/webmessageportchannel_impl.h ('k') | chrome/plugin/npobject_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/common/webmessageportchannel_impl.h" 5 #include "chrome/common/webmessageportchannel_impl.h"
6 6
7 #include "chrome/common/child_process.h" 7 #include "chrome/common/child_process.h"
8 #include "chrome/common/child_thread.h" 8 #include "chrome/common/child_thread.h"
9 #include "chrome/common/worker_messages.h" 9 #include "chrome/common/worker_messages.h"
10 #include "webkit/api/public/WebString.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebString.h"
11 #include "webkit/api/public/WebMessagePortChannelClient.h" 11 #include "third_party/WebKit/WebKit/chromium/public/WebMessagePortChannelClient. h"
12 12
13 using WebKit::WebMessagePortChannel; 13 using WebKit::WebMessagePortChannel;
14 using WebKit::WebMessagePortChannelArray; 14 using WebKit::WebMessagePortChannelArray;
15 using WebKit::WebMessagePortChannelClient; 15 using WebKit::WebMessagePortChannelClient;
16 using WebKit::WebString; 16 using WebKit::WebString;
17 17
18 WebMessagePortChannelImpl::WebMessagePortChannelImpl() 18 WebMessagePortChannelImpl::WebMessagePortChannelImpl()
19 : client_(NULL), 19 : client_(NULL),
20 route_id_(MSG_ROUTING_NONE), 20 route_id_(MSG_ROUTING_NONE),
21 message_port_id_(MSG_ROUTING_NONE) { 21 message_port_id_(MSG_ROUTING_NONE) {
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 } 221 }
222 222
223 Send(new WorkerProcessHostMsg_SendQueuedMessages( 223 Send(new WorkerProcessHostMsg_SendQueuedMessages(
224 message_port_id_, queued_messages)); 224 message_port_id_, queued_messages));
225 225
226 message_port_id_ = MSG_ROUTING_NONE; 226 message_port_id_ = MSG_ROUTING_NONE;
227 227
228 Release(); 228 Release();
229 ChildProcess::current()->ReleaseProcess(); 229 ChildProcess::current()->ReleaseProcess();
230 } 230 }
OLDNEW
« no previous file with comments | « chrome/common/webmessageportchannel_impl.h ('k') | chrome/plugin/npobject_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698