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, |