| Index: mojo/services/network/network_context.h
|
| diff --git a/mojo/services/network/network_context.h b/mojo/services/network/network_context.h
|
| index 96e8d684457efeee1fd1f181f9515477bb0639b9..94f2d2c04d068c7bbe44dbc4ad0c861800fe27f2 100644
|
| --- a/mojo/services/network/network_context.h
|
| +++ b/mojo/services/network/network_context.h
|
| @@ -7,8 +7,11 @@
|
|
|
| #include <set>
|
|
|
| +#include "base/callback.h"
|
| #include "base/macros.h"
|
| +#include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/task_runner.h"
|
|
|
| namespace base {
|
| class FilePath;
|
| @@ -24,6 +27,13 @@ class URLLoaderImpl;
|
|
|
| class NetworkContext {
|
| public:
|
| + // Cleares the cached content. The actual deletion will be performed using the
|
| + // given task runner, but cache appears as cleared immediately after the
|
| + // function returns.
|
| + static void ClearCache(const base::FilePath& base_path,
|
| + scoped_refptr<base::TaskRunner> task_runner,
|
| + const base::Closure& clear_finished_callback);
|
| +
|
| explicit NetworkContext(
|
| scoped_ptr<net::URLRequestContext> url_request_context);
|
| explicit NetworkContext(const base::FilePath& base_path);
|
|
|