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

Side by Side Diff: mojo/services/vsync/interfaces/vsync.mojom

Issue 1457383005: Require an explicit ServiceName annotation for interfaces in Java (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 5 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module vsync; 6 module vsync;
7 7
8 [ServiceName="vsync::VSyncProvider"]
8 interface VSyncProvider { 9 interface VSyncProvider {
9 // Waits for the next vsync and returns its timestamp once it happens. The 10 // Waits for the next vsync and returns its timestamp once it happens. The
10 // timestamps can only be compared with other calls of this method. 11 // timestamps can only be compared with other calls of this method.
11 // Only one callback can be parked at a given time. 12 // Only one callback can be parked at a given time.
12 AwaitVSync() => (int64 time_stamp); 13 AwaitVSync() => (int64 time_stamp);
13 }; 14 };
OLDNEW
« no previous file with comments | « mojo/services/speech_recognizer/interfaces/speech_recognizer.mojom ('k') | services/intent_receiver/intent_receiver.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698