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

Unified Diff: ceee/ie/plugin/bho/cookie_accountant.h

Issue 5544010: Revert 68293 - Revert 68290 - Restored missing BrokerRpcClient::Connect.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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 | « no previous file | ceee/ie/plugin/bho/executor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | ceee/ie/plugin/bho/executor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698