Chromium Code Reviews| Index: ceee/ie/broker/broker_module.cc |
| =================================================================== |
| --- ceee/ie/broker/broker_module.cc (revision 65555) |
| +++ 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(); |
| + |
| + rpc_server_.Start(); |
|
Sigurður Ásgeirsson
2010/11/12 14:40:24
Return error from the function on failure, as the
Vitaly Buka corp
2010/11/12 20:58:48
Done.
|
| + DCHECK(rpc_server_.is_started()); |
| + |
| return CAtlExeModuleT<CeeeBrokerModule>::PreMessageLoop(show); |
| } |