OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/in_process_child_thread_params.h" | 5 #include "content/common/in_process_child_thread_params.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
8 | 8 |
9 InProcessChildThreadParams::InProcessChildThreadParams( | 9 InProcessChildThreadParams::InProcessChildThreadParams( |
10 const std::string& channel_name, | 10 const std::string& channel_name, |
11 scoped_refptr<base::SequencedTaskRunner> io_runner, | 11 scoped_refptr<base::SequencedTaskRunner> io_runner, |
12 mojo::MessagePipeHandle handle) | 12 mojo::MessagePipeHandle handle, |
13 : channel_name_(channel_name), io_runner_(io_runner), handle_(handle) {} | 13 mojo::MessagePipeHandle application_handle) |
| 14 : channel_name_(channel_name), io_runner_(io_runner), handle_(handle), |
| 15 application_handle_(application_handle) {} |
14 | 16 |
15 InProcessChildThreadParams::InProcessChildThreadParams( | 17 InProcessChildThreadParams::InProcessChildThreadParams( |
16 const InProcessChildThreadParams& other) = default; | 18 const InProcessChildThreadParams& other) = default; |
17 | 19 |
18 InProcessChildThreadParams::~InProcessChildThreadParams() { | 20 InProcessChildThreadParams::~InProcessChildThreadParams() { |
19 } | 21 } |
20 | 22 |
21 } // namespace content | 23 } // namespace content |
OLD | NEW |