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

Unified Diff: services/android/java_handler.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
« no previous file with comments | « mojo/tools/data/unittests ('k') | services/dart/content_handler_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/android/java_handler.cc
diff --git a/services/android/java_handler.cc b/services/android/java_handler.cc
index 257a0b9475b08af74e86ba0734d3b72e03f9bb29..63a7a52349ae39033d1b2aec9fce9911c4a21963 100644
--- a/services/android/java_handler.cc
+++ b/services/android/java_handler.cc
@@ -102,7 +102,7 @@ void JavaHandler::GetApplication(base::FilePath* archive_path,
base::FilePath* cache_dir,
mojo::URLResponsePtr response,
const base::Closure& callback) {
- url_response_disk_cache_->GetFile(
+ url_response_disk_cache_->UpdateAndGet(
response.Pass(),
[archive_path, cache_dir, callback](mojo::Array<uint8_t> extracted_path,
mojo::Array<uint8_t> cache_path) {
« no previous file with comments | « mojo/tools/data/unittests ('k') | services/dart/content_handler_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698