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

Unified Diff: ceee/ie/broker/broker_rpc_lib.idl

Issue 4508002: COM replaced with RPC for firing events in broker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 | « ceee/ie/broker/broker_rpc_client.cc ('k') | ceee/ie/broker/broker_rpc_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ceee/ie/broker/broker_rpc_lib.idl
===================================================================
--- ceee/ie/broker/broker_rpc_lib.idl (revision 0)
+++ ceee/ie/broker/broker_rpc_lib.idl (revision 0)
@@ -0,0 +1,35 @@
+import "oaidl.idl";
+import "ocidl.idl";
+
+
+[ uuid (931C5D3F-A6D7-411B-98ED-789FC9291302),
+ // TODO(vitalybuka@google.com): decide if we need meaningful version.
+ version(1.1),
+ pointer_default(unique),
+]
+interface CeeeBroker {
+
+// Context handle to allow server maintain number of active clients.
+typedef [context_handle] void* BrokerContextHandle;
+
+// @name Implementation specific calls.
+// @{
+// Returns context handle for new client.
+BrokerContextHandle Connect(
+ [in] handle_t binding_handle);
+
+// Release context handle.
+void Disconnect(
+ [in] handle_t binding_handle,
+ [in, out] BrokerContextHandle* context);
+// @}
+
+// @name Remote calls.
+// @{
+// Fires event to broker.
+void FireEvent(
+ [in] handle_t binding_handle,
+ [in] BSTR event_name,
+ [in] BSTR event_args);
+// @}
+}
Property changes on: ceee\ie\broker\broker_rpc_lib.idl
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « ceee/ie/broker/broker_rpc_client.cc ('k') | ceee/ie/broker/broker_rpc_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698