Index: services/url_response_disk_cache/url_response_disk_cache_app.cc |
diff --git a/services/url_response_disk_cache/url_response_disk_cache_app.cc b/services/url_response_disk_cache/url_response_disk_cache_app.cc |
index 67632ae301dc1d5f14a4ef046426953c5abeefe6..ba7b456f74d5d00d33cdf7ef40e25eca96e4f6fb 100644 |
--- a/services/url_response_disk_cache/url_response_disk_cache_app.cc |
+++ b/services/url_response_disk_cache/url_response_disk_cache_app.cc |
@@ -10,8 +10,9 @@ |
namespace mojo { |
URLResponseDiskCacheApp::URLResponseDiskCacheApp( |
- scoped_refptr<base::TaskRunner> task_runner) |
- : task_runner_(task_runner) {} |
+ scoped_refptr<base::TaskRunner> task_runner, |
+ URLResponseDiskCacheDelegate* delegate) |
+ : task_runner_(task_runner), delegate_(delegate) {} |
URLResponseDiskCacheApp::~URLResponseDiskCacheApp() { |
} |
@@ -31,8 +32,9 @@ bool URLResponseDiskCacheApp::ConfigureIncomingConnection( |
void URLResponseDiskCacheApp::Create( |
ApplicationConnection* connection, |
InterfaceRequest<URLResponseDiskCache> request) { |
- new URLResponseDiskCacheImpl( |
- task_runner_, db_, connection->GetRemoteApplicationURL(), request.Pass()); |
+ new URLResponseDiskCacheImpl(task_runner_, delegate_, db_, |
+ connection->GetRemoteApplicationURL(), |
+ request.Pass()); |
} |
} // namespace mojo |