Add a way to custom http cache backend
This commit is contained in:
parent
ff0afc688d
commit
1166a56ceb
2 changed files with 15 additions and 9 deletions
|
@ -8,6 +8,7 @@
|
|||
#include "base/files/file_path.h"
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "content/public/browser/content_browser_client.h"
|
||||
#include "net/http/http_cache.h"
|
||||
#include "net/url_request/url_request_context_getter.h"
|
||||
|
||||
namespace base {
|
||||
|
@ -36,6 +37,8 @@ class URLRequestContextGetter : public net::URLRequestContextGetter {
|
|||
virtual net::URLRequestJobFactory* CreateURLRequestJobFactory(
|
||||
content::ProtocolHandlerMap* protocol_handlers,
|
||||
content::URLRequestInterceptorScopedVector* protocol_interceptors);
|
||||
virtual net::HttpCache::BackendFactory* CreateHttpCacheBackendFactory(
|
||||
const base::FilePath& base_path);
|
||||
};
|
||||
|
||||
URLRequestContextGetter(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue