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

Unified Diff: ceee/ie/broker/broker_rpc_client.h

Issue 4989002: Firing event to broker without worker thread. (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_lib.idl ('k') | ceee/ie/broker/broker_rpc_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ceee/ie/broker/broker_rpc_client.h
===================================================================
--- ceee/ie/broker/broker_rpc_client.h (revision 66617)
+++ ceee/ie/broker/broker_rpc_client.h (working copy)
@@ -17,7 +17,7 @@
~BrokerRpcClient();
// Initialize connection with server.
- bool Connect();
+ HRESULT Connect();
// Relese connection with server
void Disconnect();
@@ -30,9 +30,12 @@
// @name Remote calls.
// @{
// Calls FireEvent on server side.
- bool FireEvent(BSTR event_name, BSTR event_args);
+ HRESULT FireEvent(const char* event_name, const char* event_args);
// @}
+ // Starts new CEEE broker if nessesary.
+ static HRESULT StartServer();
+
private:
void LockContext();
void ReleaseContext();
« no previous file with comments | « ceee/ie/broker/broker_lib.idl ('k') | ceee/ie/broker/broker_rpc_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698