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 const std::string& ipc_token, | |
13 const std::string& application_token) | 12 const std::string& application_token) |
14 : channel_name_(channel_name), io_runner_(io_runner), ipc_token_(ipc_token), | 13 : channel_name_(channel_name), io_runner_(io_runner), |
15 application_token_(application_token) {} | 14 application_token_(application_token) {} |
16 | 15 |
17 InProcessChildThreadParams::InProcessChildThreadParams( | 16 InProcessChildThreadParams::InProcessChildThreadParams( |
18 const InProcessChildThreadParams& other) = default; | 17 const InProcessChildThreadParams& other) = default; |
19 | 18 |
20 InProcessChildThreadParams::~InProcessChildThreadParams() { | 19 InProcessChildThreadParams::~InProcessChildThreadParams() { |
21 } | 20 } |
22 | 21 |
23 } // namespace content | 22 } // namespace content |
OLD | NEW |