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

Unified Diff: mojo/edk/system/handle_transport.cc

Issue 1942423002: EDK: Move DispatcherTransport to handle_transport.*. (Closed) Base URL: https://github.com/domokit/mojo.git@work789_edk_handle_9
Patch Set: rebased 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/edk/system/handle_transport.h ('k') | mojo/edk/system/ipc_support_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/handle_transport.cc
diff --git a/mojo/edk/system/handle_transport.cc b/mojo/edk/system/handle_transport.cc
new file mode 100644
index 0000000000000000000000000000000000000000..37925ea167b22bd7ae0d5e8df2597003d9518838
--- /dev/null
+++ b/mojo/edk/system/handle_transport.cc
@@ -0,0 +1,19 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "mojo/edk/system/handle_transport.h"
+
+#include "base/logging.h"
+
+namespace mojo {
+namespace system {
+
+void DispatcherTransport::End() {
+ DCHECK(dispatcher_);
+ dispatcher_->mutex_.Unlock();
+ dispatcher_ = nullptr;
+}
+
+} // namespace system
+} // namespace mojo
« no previous file with comments | « mojo/edk/system/handle_transport.h ('k') | mojo/edk/system/ipc_support_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698