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

Unified Diff: services/dart/test/pingpong/main.dart

Issue 998693004: Enable dartanalyze warnings. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: zra comments Created 5 years, 9 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/test/echo/main.dart ('k') | services/dart/test/pingpong_target/main.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/dart/test/pingpong/main.dart
diff --git a/services/dart/test/pingpong/main.dart b/services/dart/test/pingpong/main.dart
index 5c10d354e18ee8c50b0931dc549a9a6d7c1341ab..c0eaa88faf0c0473f1df7ee3a99a727895b590ce 100644
--- a/services/dart/test/pingpong/main.dart
+++ b/services/dart/test/pingpong/main.dart
@@ -51,7 +51,8 @@ class PingPongServiceImpl implements PingPongService {
}
}
- Future pingTargetUrl(String url, int count, Function responseFactory) async {
+ Future pingTargetUrl(String url, int count,
+ [Function responseFactory]) async {
if (_application == null) {
return responseFactory(false);
}
@@ -72,8 +73,8 @@ class PingPongServiceImpl implements PingPongService {
return responseFactory(true);
}
- Future pingTargetService(
- ProxyBase proxyBase, int count, Function responseFactory) async {
+ Future pingTargetService(ProxyBase proxyBase, int count,
+ [Function responseFactory]) async {
var pingPongService = proxyBase;
var completer = new Completer();
var client = new PingPongClientImpl.unbound(count, completer);
« no previous file with comments | « services/dart/test/echo/main.dart ('k') | services/dart/test/pingpong_target/main.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698