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

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

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
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);
}

Powered by Google App Engine
This is Rietveld 408576698