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

Unified Diff: apps/moterm/moterm_driver.cc

Issue 1321253010: Add a "native_support" service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fix android? Created 5 years, 3 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 | « no previous file | examples/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/moterm/moterm_driver.cc
diff --git a/apps/moterm/moterm_driver.cc b/apps/moterm/moterm_driver.cc
index 85b0bd163c43bca112b81c5b9f3645a37b321754..70b56062ec54f288b70977f66c1b634eb7064c4b 100644
--- a/apps/moterm/moterm_driver.cc
+++ b/apps/moterm/moterm_driver.cc
@@ -187,11 +187,11 @@ void MotermDriver::Close(const CloseCallback& callback) {
return;
}
+ // TODO(vtl): Call pending read callbacks?
+
is_closed_ = true;
callback.Run(mojo::files::ERROR_OK);
- // TODO(vtl): Call pending read callbacks?
-
client_->OnClosed();
}
« no previous file with comments | « no previous file | examples/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698