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

Unified Diff: services/dart/dart_apptests/lib/src/connect_to_loader_apptests.dart

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 | « services/dart/content_handler_main.cc ('k') | services/url_response_disk_cache/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/dart/dart_apptests/lib/src/connect_to_loader_apptests.dart
diff --git a/services/dart/dart_apptests/lib/src/connect_to_loader_apptests.dart b/services/dart/dart_apptests/lib/src/connect_to_loader_apptests.dart
index 6b7742093dc5388e67c16682d47377d33317969d..e5a9008865ce1cef92631b5ed7bad0d9f6b3e11b 100644
--- a/services/dart/dart_apptests/lib/src/connect_to_loader_apptests.dart
+++ b/services/dart/dart_apptests/lib/src/connect_to_loader_apptests.dart
@@ -16,11 +16,11 @@ import 'package:mojo/core.dart';
connectToLoaderApptests(Application application, String url) {
test('Connection', () async {
var diskCacheProxy = new UrlResponseDiskCacheProxy.unbound();
- application.connectToService("mojo:url_response_disk_cache",
- diskCacheProxy);
+ application.connectToService(
+ "mojo:url_response_disk_cache", diskCacheProxy);
var response = new UrlResponse();
response.url = 'http://www.example.com';
- await diskCacheProxy.ptr.getFile(response);
+ await diskCacheProxy.ptr.updateAndGet(response);
await diskCacheProxy.close();
});
}
« no previous file with comments | « services/dart/content_handler_main.cc ('k') | services/url_response_disk_cache/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698