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

Side by Side Diff: chrome/browser/net/evicted_domain_cookie_counter.h

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_NET_EVICTED_DOMAIN_COOKIE_COUNTER_H_ 5 #ifndef CHROME_BROWSER_NET_EVICTED_DOMAIN_COOKIE_COUNTER_H_
6 #define CHROME_BROWSER_NET_EVICTED_DOMAIN_COOKIE_COUNTER_H_ 6 #define CHROME_BROWSER_NET_EVICTED_DOMAIN_COOKIE_COUNTER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 scoped_ptr<Delegate> cookie_counter_delegate, 82 scoped_ptr<Delegate> cookie_counter_delegate,
83 size_t max_size, 83 size_t max_size,
84 size_t purge_count); 84 size_t purge_count);
85 85
86 // Returns the number of evicted cookies stored. 86 // Returns the number of evicted cookies stored.
87 size_t GetStorageSize() const; 87 size_t GetStorageSize() const;
88 88
89 // CookieMonster::Delegate implementation. 89 // CookieMonster::Delegate implementation.
90 virtual void OnCookieChanged(const net::CanonicalCookie& cookie, 90 virtual void OnCookieChanged(const net::CanonicalCookie& cookie,
91 bool removed, 91 bool removed,
92 ChangeCause cause) OVERRIDE; 92 ChangeCause cause) override;
93 virtual void OnLoaded() OVERRIDE; 93 virtual void OnLoaded() override;
94 94
95 private: 95 private:
96 // Identifier of an evicted cookie. 96 // Identifier of an evicted cookie.
97 typedef std::string EvictedCookieKey; 97 typedef std::string EvictedCookieKey;
98 98
99 // Storage class of evicted cookie. 99 // Storage class of evicted cookie.
100 typedef std::map<EvictedCookieKey, EvictedCookie*> EvictedCookieMap; 100 typedef std::map<EvictedCookieKey, EvictedCookie*> EvictedCookieMap;
101 101
102 virtual ~EvictedDomainCookieCounter(); 102 virtual ~EvictedDomainCookieCounter();
103 103
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 // After garbage collection, size reduces to <= |max_size_| - |purge_count_|. 139 // After garbage collection, size reduces to <= |max_size_| - |purge_count_|.
140 const size_t purge_count_; 140 const size_t purge_count_;
141 141
142 DISALLOW_COPY_AND_ASSIGN(EvictedDomainCookieCounter); 142 DISALLOW_COPY_AND_ASSIGN(EvictedDomainCookieCounter);
143 }; 143 };
144 144
145 } // namespace chrome_browser_net 145 } // namespace chrome_browser_net
146 146
147 #endif // CHROME_BROWSER_NET_EVICTED_DOMAIN_COOKIE_COUNTER_H_ 147 #endif // CHROME_BROWSER_NET_EVICTED_DOMAIN_COOKIE_COUNTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/dns_probe_service.h ('k') | chrome/browser/net/evicted_domain_cookie_counter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698