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

Unified Diff: chromeos/binder/command_stream.h

Issue 1575313002: Add CommandBroker::OnTransaction to handle incoming transactions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment Created 4 years, 11 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 | « chromeos/binder/command_broker.cc ('k') | chromeos/binder/command_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/binder/command_stream.h
diff --git a/chromeos/binder/command_stream.h b/chromeos/binder/command_stream.h
index aae287f48441255bbb2d0c139594a04e84882949..52db685e7699745ab45ab41233081974e9b5c2c1 100644
--- a/chromeos/binder/command_stream.h
+++ b/chromeos/binder/command_stream.h
@@ -32,6 +32,10 @@ class CHROMEOS_EXPORT CommandStream {
virtual ~IncomingCommandHandler() {}
// TODO(hashimoto): Add methods to handle incoming commands.
+ // Called to handle BR_TRANSACTION.
+ // |data| contains the parameters.
+ virtual bool OnTransaction(const TransactionData& data) = 0;
+
// Called to handle BR_REPLY.
// |data| is the reply for the previous transaction.
virtual void OnReply(scoped_ptr<TransactionData> data) = 0;
« no previous file with comments | « chromeos/binder/command_broker.cc ('k') | chromeos/binder/command_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698