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

Unified Diff: services/dart/content_handler_main.cc

Issue 1276073004: Offline By Default (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Add missing explicits. 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/dart/content_handler_main.cc
diff --git a/services/dart/content_handler_main.cc b/services/dart/content_handler_main.cc
index f0adeeaae70186ec5a8f7c6deb055810ecefefd1..215bb6cfc1f9a9d0424c22324b7fde52f73a3160 100644
--- a/services/dart/content_handler_main.cc
+++ b/services/dart/content_handler_main.cc
@@ -70,7 +70,7 @@ class DartContentHandlerApp : public mojo::ApplicationDelegate {
void ExtractApplication(base::FilePath* application_dir,
mojo::URLResponsePtr response,
const base::Closure& callback) {
- url_response_disk_cache_->GetExtractedContent(
+ url_response_disk_cache_->UpdateAndGetExtracted(
response.Pass(),
[application_dir, callback](mojo::Array<uint8_t> application_dir_path,
mojo::Array<uint8_t> cache_path) {
« no previous file with comments | « services/android/java_handler.cc ('k') | services/dart/dart_apptests/lib/src/connect_to_loader_apptests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698