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

Unified Diff: net/base/cookie_monster.h

Issue 6780035: Use lock-free lazy initialization for static histogram references (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | « net/base/connection_type_histograms.cc ('k') | net/base/cookie_monster_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cookie_monster.h
===================================================================
--- net/base/cookie_monster.h (revision 80382)
+++ net/base/cookie_monster.h (working copy)
@@ -469,17 +469,17 @@
// Histogram variables; see CookieMonster::InitializeHistograms() in
// cookie_monster.cc for details.
- scoped_refptr<base::Histogram> histogram_expiration_duration_minutes_;
- scoped_refptr<base::Histogram> histogram_between_access_interval_minutes_;
- scoped_refptr<base::Histogram> histogram_evicted_last_access_minutes_;
- scoped_refptr<base::Histogram> histogram_count_;
- scoped_refptr<base::Histogram> histogram_domain_count_;
- scoped_refptr<base::Histogram> histogram_etldp1_count_;
- scoped_refptr<base::Histogram> histogram_domain_per_etldp1_count_;
- scoped_refptr<base::Histogram> histogram_number_duplicate_db_cookies_;
- scoped_refptr<base::Histogram> histogram_cookie_deletion_cause_;
- scoped_refptr<base::Histogram> histogram_time_get_;
- scoped_refptr<base::Histogram> histogram_time_load_;
+ base::Histogram* histogram_expiration_duration_minutes_;
+ base::Histogram* histogram_between_access_interval_minutes_;
+ base::Histogram* histogram_evicted_last_access_minutes_;
+ base::Histogram* histogram_count_;
+ base::Histogram* histogram_domain_count_;
+ base::Histogram* histogram_etldp1_count_;
+ base::Histogram* histogram_domain_per_etldp1_count_;
+ base::Histogram* histogram_number_duplicate_db_cookies_;
+ base::Histogram* histogram_cookie_deletion_cause_;
+ base::Histogram* histogram_time_get_;
+ base::Histogram* histogram_time_load_;
CookieMap cookies_;
« no previous file with comments | « net/base/connection_type_histograms.cc ('k') | net/base/cookie_monster_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698