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

Unified Diff: net/disk_cache/simple/simple_util.h

Issue 14295013: Simple Cache: DoomEntriesBetween() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
Index: net/disk_cache/simple/simple_util.h
diff --git a/net/disk_cache/simple/simple_util.h b/net/disk_cache/simple/simple_util.h
index 5bbd46cbbfd664444560e7832df741fbbf0090fb..1bae1860cba6bd25a1afc5592faa0b1632835c09 100644
--- a/net/disk_cache/simple/simple_util.h
+++ b/net/disk_cache/simple/simple_util.h
@@ -38,6 +38,10 @@ NET_EXPORT_PRIVATE std::string GetFilenameFromKeyAndIndex(
const std::string& key,
int index);
+// Same as |GetFilenameFromKeyAndIndex| above, but using a ready hex string.
gavinp 2013/04/17 07:41:18 I think "ready" doesn't work here.
pasko-google - do not use 2013/04/17 19:47:52 Done.
+std::string GetFilenameFromHexStringAndIndex(const std::string& hex_key,
+ int index);
+
// Given the size of a file holding a stream in the simple backend and the size
gavinp 2013/04/17 07:41:18 Eek: many of these comments are wrong now that the
pasko-google - do not use 2013/04/17 19:47:52 three is many, you are right. Done.
// of the key to an entry, returns the number of bytes in the stream.
int32 GetDataSizeFromKeyAndFileSize(const std::string& key,

Powered by Google App Engine
This is Rietveld 408576698