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

Side by Side Diff: services/js/test/pingpong_service.mojom

Issue 780213002: Put code in //services/js in namespace js (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module mojo; 5 module js;
6 6
7 [Client=PingPongClient] 7 [Client=PingPongClient]
8 interface PingPongService { 8 interface PingPongService {
9 // Typically calls PingPongClient::Pong(ping_value + 1) 9 // Typically calls PingPongClient::Pong(ping_value + 1)
10 Ping(uint16 ping_value); 10 Ping(uint16 ping_value);
11 11
12 // Ping the PingPongService at |url| |count| times and return true 12 // Ping the PingPongService at |url| |count| times and return true
13 // after the final Pong() is received. 13 // after the final Pong() is received.
14 PingTarget(string url, uint16 count) => (bool ok); 14 PingTarget(string url, uint16 count) => (bool ok);
15 15
16 // Make it stop. 16 // Make it stop.
17 Quit(); 17 Quit();
18 }; 18 };
19 19
20 interface PingPongClient { 20 interface PingPongClient {
21 Pong(uint16 pong_value); 21 Pong(uint16 pong_value);
22 }; 22 };
OLDNEW
« services/js/js_app_runner_delegate.cc ('K') | « services/js/test/js_application_test_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698