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

Side by Side Diff: content/common/mojo/mojo_shell_connection_impl.cc

Issue 1873463003: Remove mojo network service. (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/BUILD.gn ('k') | content/content_browser.gypi » ('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/mojo/mojo_shell_connection_impl.h" 5 #include "content/common/mojo/mojo_shell_connection_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "base/stl_util.h" 12 #include "base/stl_util.h"
13 #include "base/threading/thread_local.h" 13 #include "base/threading/thread_local.h"
14 #include "content/public/common/content_switches.h" 14 #include "content/public/common/content_switches.h"
15 #include "mojo/converters/network/network_type_converters.h"
16 #include "mojo/edk/embedder/embedder.h" 15 #include "mojo/edk/embedder/embedder.h"
17 #include "mojo/edk/embedder/platform_channel_pair.h" 16 #include "mojo/edk/embedder/platform_channel_pair.h"
18 #include "mojo/shell/public/cpp/shell_client.h" 17 #include "mojo/shell/public/cpp/shell_client.h"
19 #include "mojo/shell/public/cpp/shell_connection.h" 18 #include "mojo/shell/public/cpp/shell_connection.h"
20 #include "mojo/shell/runner/common/client_util.h" 19 #include "mojo/shell/runner/common/client_util.h"
21 20
22 namespace content { 21 namespace content {
23 namespace { 22 namespace {
24 23
25 using MojoShellConnectionPtr = 24 using MojoShellConnectionPtr =
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // static 159 // static
161 void MojoShellConnection::Destroy() { 160 void MojoShellConnection::Destroy() {
162 // This joins the shell controller thread. 161 // This joins the shell controller thread.
163 delete Get(); 162 delete Get();
164 lazy_tls_ptr.Pointer()->Set(nullptr); 163 lazy_tls_ptr.Pointer()->Set(nullptr);
165 } 164 }
166 165
167 MojoShellConnection::~MojoShellConnection() {} 166 MojoShellConnection::~MojoShellConnection() {}
168 167
169 } // namespace content 168 } // namespace content
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698