OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Brought to you by the letter D and the number 2. | 5 // Brought to you by the letter D and the number 2. |
6 | 6 |
7 #ifndef NET_COOKIES_COOKIE_MONSTER_H_ | 7 #ifndef NET_COOKIES_COOKIE_MONSTER_H_ |
8 #define NET_COOKIES_COOKIE_MONSTER_H_ | 8 #define NET_COOKIES_COOKIE_MONSTER_H_ |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 // cookie_monster.cc for details. | 628 // cookie_monster.cc for details. |
629 base::HistogramBase* histogram_expiration_duration_minutes_; | 629 base::HistogramBase* histogram_expiration_duration_minutes_; |
630 base::HistogramBase* histogram_between_access_interval_minutes_; | 630 base::HistogramBase* histogram_between_access_interval_minutes_; |
631 base::HistogramBase* histogram_evicted_last_access_minutes_; | 631 base::HistogramBase* histogram_evicted_last_access_minutes_; |
632 base::HistogramBase* histogram_count_; | 632 base::HistogramBase* histogram_count_; |
633 base::HistogramBase* histogram_domain_count_; | 633 base::HistogramBase* histogram_domain_count_; |
634 base::HistogramBase* histogram_etldp1_count_; | 634 base::HistogramBase* histogram_etldp1_count_; |
635 base::HistogramBase* histogram_domain_per_etldp1_count_; | 635 base::HistogramBase* histogram_domain_per_etldp1_count_; |
636 base::HistogramBase* histogram_number_duplicate_db_cookies_; | 636 base::HistogramBase* histogram_number_duplicate_db_cookies_; |
637 base::HistogramBase* histogram_cookie_deletion_cause_; | 637 base::HistogramBase* histogram_cookie_deletion_cause_; |
638 base::HistogramBase* histogram_time_get_; | |
639 base::HistogramBase* histogram_time_mac_; | 638 base::HistogramBase* histogram_time_mac_; |
640 base::HistogramBase* histogram_time_blocked_on_load_; | 639 base::HistogramBase* histogram_time_blocked_on_load_; |
641 | 640 |
642 CookieMap cookies_; | 641 CookieMap cookies_; |
643 | 642 |
644 // Indicates whether the cookie store has been initialized. This happens | 643 // Indicates whether the cookie store has been initialized. This happens |
645 // lazily in InitStoreIfNecessary(). | 644 // lazily in InitStoreIfNecessary(). |
646 bool initialized_; | 645 bool initialized_; |
647 | 646 |
648 // Indicates whether loading from the backend store is completed and | 647 // Indicates whether loading from the backend store is completed and |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
788 virtual ~PersistentCookieStore() {} | 787 virtual ~PersistentCookieStore() {} |
789 | 788 |
790 private: | 789 private: |
791 friend class base::RefCountedThreadSafe<PersistentCookieStore>; | 790 friend class base::RefCountedThreadSafe<PersistentCookieStore>; |
792 DISALLOW_COPY_AND_ASSIGN(PersistentCookieStore); | 791 DISALLOW_COPY_AND_ASSIGN(PersistentCookieStore); |
793 }; | 792 }; |
794 | 793 |
795 } // namespace net | 794 } // namespace net |
796 | 795 |
797 #endif // NET_COOKIES_COOKIE_MONSTER_H_ | 796 #endif // NET_COOKIES_COOKIE_MONSTER_H_ |
OLD | NEW |