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

Unified Diff: shell/url_response_disk_cache_loader.cc

Issue 2012873003: More ApplicationDelegate/ApplicationRunner[Chromium] conversion. (Closed) Base URL: https://github.com/domokit/mojo.git@work791_run_app_options
Patch Set: Created 4 years, 7 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/url_response_disk_cache_loader.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/url_response_disk_cache_loader.cc
diff --git a/shell/url_response_disk_cache_loader.cc b/shell/url_response_disk_cache_loader.cc
index e9629ff8938947a91de6fe203d80c6474190f4dc..2fe3892ca23a3187f2dbc81d675161116f44027f 100644
--- a/shell/url_response_disk_cache_loader.cc
+++ b/shell/url_response_disk_cache_loader.cc
@@ -9,17 +9,15 @@ namespace shell {
URLResponseDiskCacheLoader::URLResponseDiskCacheLoader(
scoped_refptr<base::TaskRunner> task_runner,
mojo::URLResponseDiskCacheDelegate* delegate)
- : url_response_disk_cache_(task_runner, delegate) {}
+ : url_response_disk_cache_app_(task_runner, delegate) {}
-URLResponseDiskCacheLoader::~URLResponseDiskCacheLoader() {
-}
+URLResponseDiskCacheLoader::~URLResponseDiskCacheLoader() {}
void URLResponseDiskCacheLoader::Load(
const GURL& url,
mojo::InterfaceRequest<mojo::Application> application_request) {
DCHECK(application_request.is_pending());
- application_.reset(new mojo::ApplicationImpl(&url_response_disk_cache_,
- application_request.Pass()));
+ url_response_disk_cache_app_.Bind(application_request.Pass());
}
} // namespace shell
« no previous file with comments | « shell/url_response_disk_cache_loader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698