Index: ceee/ie/plugin/bho/cookie_accountant.h |
=================================================================== |
--- ceee/ie/plugin/bho/cookie_accountant.h (revision 68295) |
+++ ceee/ie/plugin/bho/cookie_accountant.h (working copy) |
@@ -54,8 +54,11 @@ |
// queue the events sent to the broker. They don't need to be sent to the BHO |
// because they don't need tab_id anyway. |
CookieAccountant() |
- : cookie_events_funnel_(new BrokerRpcClient(true)), |
+ : broker_rpc_client_(true), |
+ cookie_events_funnel_(&broker_rpc_client_), |
patching_wininet_functions_(false) { |
+ HRESULT hr = broker_rpc_client_.Connect(true); |
+ DCHECK(SUCCEEDED(hr)); |
} |
virtual ~CookieAccountant(); |
@@ -110,6 +113,9 @@ |
// Sets the cookie store ID for a script cookie event. |
void SetScriptCookieStoreId(cookie_api::CookieInfo* cookie); |
+ // Broker RPC client. |
+ BrokerRpcClient broker_rpc_client_; |
+ |
// The funnel for sending cookie events to the broker. |
CookieEventsFunnel cookie_events_funnel_; |