Bundle core applicatons in the shell.
For release and official build, core mojo applicatons are bundled in the
shell.
This allows to greatly reduce the time needed for the first run. After
this, application are updated from the network.
R=etiennej@chromium.org
Review URL: https://codereview.chromium.org/1364243002 .
diff --git a/services/url_response_disk_cache/url_response_disk_cache_app.h b/services/url_response_disk_cache/url_response_disk_cache_app.h
index 47c0dd4..5f5a701 100644
--- a/services/url_response_disk_cache/url_response_disk_cache_app.h
+++ b/services/url_response_disk_cache/url_response_disk_cache_app.h
@@ -15,13 +15,15 @@
#include "mojo/public/cpp/application/interface_factory.h"
#include "mojo/services/url_response_disk_cache/public/interfaces/url_response_disk_cache.mojom.h"
#include "services/url_response_disk_cache/url_response_disk_cache_db.h"
+#include "services/url_response_disk_cache/url_response_disk_cache_delegate.h"
namespace mojo {
class URLResponseDiskCacheApp : public ApplicationDelegate,
public InterfaceFactory<URLResponseDiskCache> {
public:
- explicit URLResponseDiskCacheApp(scoped_refptr<base::TaskRunner> task_runner);
+ explicit URLResponseDiskCacheApp(scoped_refptr<base::TaskRunner> task_runner,
+ URLResponseDiskCacheDelegate* delegate);
~URLResponseDiskCacheApp() override;
private:
@@ -35,6 +37,7 @@
scoped_refptr<base::TaskRunner> task_runner_;
scoped_refptr<URLResponseDiskCacheDB> db_;
+ URLResponseDiskCacheDelegate* delegate_;
DISALLOW_COPY_AND_ASSIGN(URLResponseDiskCacheApp);
};