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