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

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 12805010: Implementing EvictedDomainCookieCounter to keep user metrics on cookie eviction and reinstatement. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanups and comment fixes. Created 7 years, 9 months 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 | net/cookies/canonical_cookie.h » ('j') | net/cookies/evicted_domain_cookie_counter.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index 9dc346cd701bdaddb0417cf037d909cb79128b45..4c5ecd0bcbe05525c6e3227b360bbb7e7d224ef1 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -61,6 +61,7 @@
#include "net/base/server_bound_cert_service.h"
#include "net/cookies/canonical_cookie.h"
#include "net/cookies/cookie_monster.h"
+#include "net/cookies/evicted_domain_cookie_counter.h"
#include "net/http/http_transaction_factory.h"
#include "net/http/http_util.h"
#include "net/proxy/proxy_config_service_fixed.h"
@@ -226,7 +227,8 @@ void ProfileIOData::InitializeOnUIThread(Profile* profile) {
base::Bind(&GetProfileOnUI, g_browser_process->profile_manager(),
profile);
params->cookie_monster_delegate =
- new ChromeCookieMonsterDelegate(profile_getter);
+ new net::EvictedDomainCookieCounter(
+ new ChromeCookieMonsterDelegate(profile_getter));
params->extension_info_map =
extensions::ExtensionSystem::Get(profile)->info_map();
« no previous file with comments | « no previous file | net/cookies/canonical_cookie.h » ('j') | net/cookies/evicted_domain_cookie_counter.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698