Chromium Code Reviews| Index: ceee/ie/broker/broker_module.cc |
| =================================================================== |
| --- ceee/ie/broker/broker_module.cc (revision 65953) |
| +++ ceee/ie/broker/broker_module.cc (working copy) |
| @@ -13,6 +13,7 @@ |
| #include "base/logging.h" |
| #include "base/logging_win.h" |
| #include "ceee/ie/broker/broker.h" |
| +#include "ceee/ie/broker/broker_rpc_server.h" |
| #include "ceee/ie/broker/chrome_postman.h" |
| #include "ceee/ie/broker/executors_manager.h" |
| #include "ceee/ie/broker/resource.h" |
| @@ -79,6 +80,7 @@ |
| CComObjectStackEx<ChromePostman> chrome_postman_; |
| CrashReporter crash_reporter_; |
| base::AtExitManager at_exit_; |
| + BrokerRpcServer rpc_server_; |
| }; |
| CeeeBrokerModule module; |
| @@ -158,6 +160,10 @@ |
| // API invocation or Fire events before the postman is ready to handle them. |
| chrome_postman_.Init(); |
| WindowEventsFunnel::Initialize(); |
| + |
| + if (!rpc_server_.Start()) |
| + return RPC_E_FAULT; |
|
Sigurður Ásgeirsson
2010/11/12 21:10:15
you need to return an HRESULT error, this is a win
Vitaly Buka corp
2010/11/12 21:28:12
#define RPC_E_FAULT _HRESULT_
|
| + |
| return CAtlExeModuleT<CeeeBrokerModule>::PreMessageLoop(show); |
| } |