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

Unified Diff: mojo/dart/apptests/test_apps/pingpong_target/lib/main.dart

Issue 1964193002: Dart: Refactors Proxies (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Address comments 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 | « mojo/dart/apptests/test_apps/pingpong/lib/main.dart ('k') | mojo/dart/embedder/io/file_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/dart/apptests/test_apps/pingpong_target/lib/main.dart
diff --git a/mojo/dart/apptests/test_apps/pingpong_target/lib/main.dart b/mojo/dart/apptests/test_apps/pingpong_target/lib/main.dart
index 5c619ef230c17d7ee0f44cc0d9ac04ad27c3f786..4f35f9b1d217a1c381eaf453945e78ef9fa71455 100644
--- a/mojo/dart/apptests/test_apps/pingpong_target/lib/main.dart
+++ b/mojo/dart/apptests/test_apps/pingpong_target/lib/main.dart
@@ -23,12 +23,12 @@ class PingPongServiceImpl implements PingPongService {
_stub.impl = this;
}
- void setClient(ProxyBase proxyBase) {
+ void setClient(Proxy proxy) {
assert(_pingPongClient == null);
- _pingPongClient = proxyBase;
+ _pingPongClient = proxy;
}
- void ping(int pingValue) => _pingPongClient.ptr.pong(pingValue + 1);
+ void ping(int pingValue) => _pingPongClient.pong(pingValue + 1);
// These methods are unimplemented; they merely throw on invocation.
dynamic pingTargetUrl(String url, int count, [Function responseFactory]) =>
« no previous file with comments | « mojo/dart/apptests/test_apps/pingpong/lib/main.dart ('k') | mojo/dart/embedder/io/file_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698