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

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

Issue 5481002: Ensure that just started broker doesn't get events addressed to dead instance. (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_rpc_server.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ceee/ie/broker/broker_rpc_unittest.cc
===================================================================
--- ceee/ie/broker/broker_rpc_unittest.cc (revision 67774)
+++ ceee/ie/broker/broker_rpc_unittest.cc (working copy)
@@ -30,8 +30,8 @@
MOCK_STATIC_INIT(BrokerRpcServer_SendUmaHistogramData);
MOCK_STATIC_INIT_END()
MOCK_STATIC0(std::wstring, , GetRpcEndPointAddress);
- MOCK_STATIC3(void, , BrokerRpcServer_FireEvent, handle_t, const char*,
- const char*);
+ MOCK_STATIC4(void, , BrokerRpcServer_FireEvent, handle_t, BrokerContextHandle,
+ const char*, const char*);
MOCK_STATIC3(void, , BrokerRpcServer_SendUmaHistogramTimes, handle_t,
const char*, int);
MOCK_STATIC6(void, , BrokerRpcServer_SendUmaHistogramData, handle_t,
@@ -79,7 +79,7 @@
const char* args = "args";
EXPECT_CALL(broker_rpc_mock_,
- BrokerRpcServer_FireEvent(_, StrEq(name), StrEq(args)))
+ BrokerRpcServer_FireEvent(_, _, StrEq(name), StrEq(args)))
.Times(1);
ASSERT_HRESULT_SUCCEEDED(client.FireEvent(name, args));
« no previous file with comments | « ceee/ie/broker/broker_rpc_server.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698