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

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

Issue 1891043002: Revert of Use a token to initialise ChannelMojo and MojoApplication everywhere. (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
« no previous file with comments | « content/common/in_process_child_thread_params.h ('k') | content/common/mojo/channel_init.h » ('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 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, 12 mojo::MessagePipeHandle handle,
13 const std::string& application_token) 13 const std::string& application_token)
14 : channel_name_(channel_name), io_runner_(io_runner), ipc_token_(ipc_token), 14 : channel_name_(channel_name), io_runner_(io_runner), handle_(handle),
15 application_token_(application_token) {} 15 application_token_(application_token) {}
16 16
17 InProcessChildThreadParams::InProcessChildThreadParams( 17 InProcessChildThreadParams::InProcessChildThreadParams(
18 const InProcessChildThreadParams& other) = default; 18 const InProcessChildThreadParams& other) = default;
19 19
20 InProcessChildThreadParams::~InProcessChildThreadParams() { 20 InProcessChildThreadParams::~InProcessChildThreadParams() {
21 } 21 }
22 22
23 } // namespace content 23 } // namespace content
OLDNEW
« no previous file with comments | « content/common/in_process_child_thread_params.h ('k') | content/common/mojo/channel_init.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698