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

Unified Diff: services/url_response_disk_cache/url_response_disk_cache_app.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
Index: services/url_response_disk_cache/url_response_disk_cache_app.h
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 47c0dd470eddadf5963f55497d2d123bfb92b278..5f5a7019db0869ddc8cecd7579d4207130f42572 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 @@ class URLResponseDiskCacheApp : public ApplicationDelegate,
scoped_refptr<base::TaskRunner> task_runner_;
scoped_refptr<URLResponseDiskCacheDB> db_;
+ URLResponseDiskCacheDelegate* delegate_;
DISALLOW_COPY_AND_ASSIGN(URLResponseDiskCacheApp);
};
« no previous file with comments | « services/url_response_disk_cache/BUILD.gn ('k') | services/url_response_disk_cache/url_response_disk_cache_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698