OLD | NEW |
---|---|
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.test { | 5 module mojo.test { |
6 | 6 |
7 interface ITestService { | 7 interface TestService { |
8 const string kWelcomeMessagePrefix = "Party like it's "; | |
viettrungluu
2014/06/30 17:08:24
I'm "surprised" we support const strings; I'm not
tim (not reviewing)
2014/06/30 22:20:54
Interesting. I saw a const string in sample_servic
| |
8 Ping() => (); | 9 Ping() => (); |
10 GetFriendlyWelcomeMessage(string time_app_url) => (string friendly_welcome); | |
11 StartMonitoring() => (); | |
viettrungluu
2014/06/30 17:08:24
Does this really need to have a response?
tim (not reviewing)
2014/06/30 22:20:54
It wouldn't if I didn't care about verifying certa
| |
12 }; | |
13 | |
14 interface TestTimeService { | |
15 GetPartyTime() => (int64 time_usec); | |
16 StartMonitoring() => (); | |
9 }; | 17 }; |
10 | 18 |
11 } // module mojo.test | 19 } // module mojo.test |
OLD | NEW |