Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(827)

Unified Diff: shell/context.h

Issue 1364243002: Bundle core applicatons in the shell. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « shell/android/url_response_disk_cache_delegate_impl.cc ('k') | shell/context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « shell/android/url_response_disk_cache_delegate_impl.cc ('k') | shell/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698