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

Side by Side Diff: mojo/services/nfc/public/interfaces/nfc.mojom

Issue 1262263003: Add DartPackage annotation to all mojo_services mojoms (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 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 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 module nfc; 6 module nfc;
6 7
7 struct NfcData { 8 struct NfcData {
8 array<uint8>? data; 9 array<uint8>? data;
9 }; 10 };
10 11
11 // Represents an in-progress nfc transmission. 12 // Represents an in-progress nfc transmission.
12 interface NfcTransmission { 13 interface NfcTransmission {
13 // Cancels the nfc transmission. 14 // Cancels the nfc transmission.
14 Cancel(); 15 Cancel();
(...skipping 18 matching lines...) Expand all
33 => (bool success); 34 => (bool success);
34 35
35 // Registers an app to receive nfc messages. Upon receiving an nfc message 36 // Registers an app to receive nfc messages. Upon receiving an nfc message
36 // the app will be connected to. If the app exposes a NfcReceiver interface 37 // the app will be connected to. If the app exposes a NfcReceiver interface
37 // it will be called with the message received. 38 // it will be called with the message received.
38 Register(); 39 Register();
39 40
40 // Unregisters an app previously registered via |Register()|. 41 // Unregisters an app previously registered via |Register()|.
41 Unregister(); 42 Unregister();
42 }; 43 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698