summaryrefslogtreecommitdiffstats
path: root/net/url_request/view_cache_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/url_request/view_cache_helper.cc')
-rw-r--r--net/url_request/view_cache_helper.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/url_request/view_cache_helper.cc b/net/url_request/view_cache_helper.cc
index d6761e1..768782e 100644
--- a/net/url_request/view_cache_helper.cc
+++ b/net/url_request/view_cache_helper.cc
@@ -63,13 +63,13 @@ ViewCacheHelper::~ViewCacheHelper() {
}
int ViewCacheHelper::GetEntryInfoHTML(const std::string& key,
- URLRequestContext* context,
+ const URLRequestContext* context,
std::string* out,
CompletionCallback* callback) {
return GetInfoHTML(key, context, std::string(), out, callback);
}
-int ViewCacheHelper::GetContentsHTML(URLRequestContext* context,
+int ViewCacheHelper::GetContentsHTML(const URLRequestContext* context,
const std::string& url_prefix,
std::string* out,
CompletionCallback* callback) {
@@ -118,7 +118,7 @@ void ViewCacheHelper::HexDump(const char *buf, size_t buf_len,
//-----------------------------------------------------------------------------
int ViewCacheHelper::GetInfoHTML(const std::string& key,
- URLRequestContext* context,
+ const URLRequestContext* context,
const std::string& url_prefix,
std::string* out,
CompletionCallback* callback) {