Index: shell/context.h |
diff --git a/shell/context.h b/shell/context.h |
index 7760f6dd8d2fac461748494b87678ff9b0a0a88f..feb1fb03f2060c3297e011d8b13081b73945e279 100644 |
--- a/shell/context.h |
+++ b/shell/context.h |
@@ -13,6 +13,10 @@ |
#include "shell/task_runners.h" |
#include "shell/url_resolver.h" |
+namespace mojo { |
+class URLResponseDiskCacheDelegate; |
+} |
+ |
namespace shell { |
class Tracer; |
@@ -48,8 +52,11 @@ class Context : public ApplicationManager::Delegate, |
// success. |
bool Init(); |
- // Like Init(), but specifies |mojo_shell_child_path()| explicitly. |
- bool InitWithPaths(const base::FilePath& shell_child_path); |
+ // Like Init(), but specifies |mojo_shell_child_path()| explicitly. Also |
+ // allows to set a delegate for the application offline cache. |
+ bool InitWithPaths( |
+ const base::FilePath& shell_child_path, |
+ mojo::URLResponseDiskCacheDelegate* url_response_disk_cache_delegate); |
// If Init() was called and succeeded, this must be called before destruction. |
void Shutdown(); |