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

Side by Side Diff: net/disk_cache/mem_rankings.h

Issue 2657005: Get rid of DISALLOW_EVIL_CONSTRUCTORS macro usage in our code base. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: added the macro back Created 10 years, 6 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
« no previous file with comments | « net/disk_cache/mem_entry_impl.h ('k') | net/disk_cache/rankings.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // See net/disk_cache/disk_cache.h for the public interface. 5 // See net/disk_cache/disk_cache.h for the public interface.
6 6
7 #ifndef NET_DISK_CACHE_MEM_RANKINGS_H__ 7 #ifndef NET_DISK_CACHE_MEM_RANKINGS_H__
8 #define NET_DISK_CACHE_MEM_RANKINGS_H__ 8 #define NET_DISK_CACHE_MEM_RANKINGS_H__
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 11
(...skipping 17 matching lines...) Expand all
29 void UpdateRank(MemEntryImpl* node); 29 void UpdateRank(MemEntryImpl* node);
30 30
31 // Iterates through the list. 31 // Iterates through the list.
32 MemEntryImpl* GetNext(MemEntryImpl* node); 32 MemEntryImpl* GetNext(MemEntryImpl* node);
33 MemEntryImpl* GetPrev(MemEntryImpl* node); 33 MemEntryImpl* GetPrev(MemEntryImpl* node);
34 34
35 private: 35 private:
36 MemEntryImpl* head_; 36 MemEntryImpl* head_;
37 MemEntryImpl* tail_; 37 MemEntryImpl* tail_;
38 38
39 DISALLOW_EVIL_CONSTRUCTORS(MemRankings); 39 DISALLOW_COPY_AND_ASSIGN(MemRankings);
40 }; 40 };
41 41
42 } // namespace disk_cache 42 } // namespace disk_cache
43 43
44 #endif // NET_DISK_CACHE_MEM_RANKINGS_H__ 44 #endif // NET_DISK_CACHE_MEM_RANKINGS_H__
OLDNEW
« no previous file with comments | « net/disk_cache/mem_entry_impl.h ('k') | net/disk_cache/rankings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698