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

Side by Side Diff: mojo/edk/embedder/embedder.h

Issue 1492943005: Remove ShutdownIPCSupportAndWaitForNoChannels. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « no previous file | mojo/edk/embedder/embedder.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef MOJO_EDK_EMBEDDER_EMBEDDER_H_ 5 #ifndef MOJO_EDK_EMBEDDER_EMBEDDER_H_
6 #define MOJO_EDK_EMBEDDER_EMBEDDER_H_ 6 #define MOJO_EDK_EMBEDDER_EMBEDDER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // called on the I/O thread (given to |InitIPCSupport()|). This completes 108 // called on the I/O thread (given to |InitIPCSupport()|). This completes
109 // synchronously and does not result in a call to the process delegate's 109 // synchronously and does not result in a call to the process delegate's
110 // |OnShutdownComplete()|. 110 // |OnShutdownComplete()|.
111 MOJO_SYSTEM_IMPL_EXPORT void ShutdownIPCSupportOnIOThread(); 111 MOJO_SYSTEM_IMPL_EXPORT void ShutdownIPCSupportOnIOThread();
112 112
113 // Like |ShutdownIPCSupportOnIOThread()|, but may be called from any thread, 113 // Like |ShutdownIPCSupportOnIOThread()|, but may be called from any thread,
114 // signalling shutdown completion via the process delegate's 114 // signalling shutdown completion via the process delegate's
115 // |OnShutdownComplete()|. 115 // |OnShutdownComplete()|.
116 MOJO_SYSTEM_IMPL_EXPORT void ShutdownIPCSupport(); 116 MOJO_SYSTEM_IMPL_EXPORT void ShutdownIPCSupport();
117 117
118 // Like above, but doesn't call |OnShutdownComplete| until all channels are
119 // gone.
120 // TODO(jam): this should be the default behavior.
121 MOJO_SYSTEM_IMPL_EXPORT void ShutdownIPCSupportAndWaitForNoChannels();
122
123 // Creates a message pipe from a platform handle. Safe to call from any thread. 118 // Creates a message pipe from a platform handle. Safe to call from any thread.
124 MOJO_SYSTEM_IMPL_EXPORT ScopedMessagePipeHandle 119 MOJO_SYSTEM_IMPL_EXPORT ScopedMessagePipeHandle
125 CreateMessagePipe(ScopedPlatformHandle platform_handle); 120 CreateMessagePipe(ScopedPlatformHandle platform_handle);
126 121
127 } // namespace edk 122 } // namespace edk
128 } // namespace mojo 123 } // namespace mojo
129 124
130 #endif // MOJO_EDK_EMBEDDER_EMBEDDER_H_ 125 #endif // MOJO_EDK_EMBEDDER_EMBEDDER_H_
OLDNEW
« no previous file with comments | « no previous file | mojo/edk/embedder/embedder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698