summaryrefslogtreecommitdiffstats
path: root/net/url_request/view_cache_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/url_request/view_cache_helper.h')
-rw-r--r--net/url_request/view_cache_helper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/url_request/view_cache_helper.h b/net/url_request/view_cache_helper.h
index ff9d937..18979ea 100644
--- a/net/url_request/view_cache_helper.h
+++ b/net/url_request/view_cache_helper.h
@@ -45,6 +45,11 @@ class NET_API ViewCacheHelper {
std::string* out,
CompletionCallback* callback);
+ // Lower-level helper to produce a textual representation of binary data.
+ // The results are appended to |result| and can be used in HTML pages
+ // provided the dump is contained within <pre></pre> tags.
+ static void HexDump(const char *buf, size_t buf_len, std::string* result);
+
private:
enum State {
STATE_NONE,