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

Unified Diff: ceee/ie/broker/broker_module.cc

Issue 5010001: COM replaced with RPC for firing events in broker.... (Closed) Base URL: svn://chrome-svn/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.gyp ('k') | ceee/ie/broker/broker_rpc_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ceee/ie/broker/broker_module.cc
===================================================================
--- ceee/ie/broker/broker_module.cc (revision 66116)
+++ 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;
+
return CAtlExeModuleT<CeeeBrokerModule>::PreMessageLoop(show);
}
« no previous file with comments | « ceee/ie/broker/broker.gyp ('k') | ceee/ie/broker/broker_rpc_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698