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

Side by Side Diff: content/common/in_process_child_thread_params.cc

Issue 1877743002: Use token-based initialisation for the utility process MojoApplication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698