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

Unified Diff: net/disk_cache/rankings.h

Issue 3452030: FBTF: Moves code to the headers. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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/disk_cache/in_flight_io.cc ('k') | net/disk_cache/rankings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/rankings.h
diff --git a/net/disk_cache/rankings.h b/net/disk_cache/rankings.h
index 8347b4cc2d74bda3501d06db16d8ea6cd932d553..1914cf65e6fa722a72681939e49e765afaafb9c4 100644
--- a/net/disk_cache/rankings.h
+++ b/net/disk_cache/rankings.h
@@ -96,18 +96,12 @@ class Rankings {
List list; // Which entry was returned to the user.
CacheRankingsBlock* nodes[3]; // Nodes on the first three lists.
Rankings* my_rankings;
- explicit Iterator(Rankings* rankings) {
- memset(this, 0, sizeof(Iterator));
- my_rankings = rankings;
- }
- ~Iterator() {
- for (int i = 0; i < 3; i++)
- ScopedRankingsBlock(my_rankings, nodes[i]);
- }
+ explicit Iterator(Rankings* rankings);
+ ~Iterator();
};
- Rankings() : init_(false) {}
- ~Rankings() {}
+ Rankings();
+ ~Rankings();
bool Init(BackendImpl* backend, bool count_lists);
« no previous file with comments | « net/disk_cache/in_flight_io.cc ('k') | net/disk_cache/rankings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698