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

Side by Side Diff: chrome/common/extensions/api/gcd_private.idl

Issue 874163002: Added ultrasound32 and audible32 into gcd_private. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@patches
Patch Set: Fri Jan 30 02:27:36 PST 2015 Created 5 years, 10 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
« no previous file with comments | « chrome/browser/local_discovery/privetv3_session.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Use the <code>chrome.gcdPrivate</code> API to discover GCD APIs and register 5 // Use the <code>chrome.gcdPrivate</code> API to discover GCD APIs and register
6 // them. 6 // them.
7 namespace gcdPrivate { 7 namespace gcdPrivate {
8 8
9 enum SetupType { mdns, wifi, cloud }; 9 enum SetupType { mdns, wifi, cloud };
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 // Bad pairing code. 52 // Bad pairing code.
53 badPairingCodeError, 53 badPairingCodeError,
54 54
55 // Device error with details in response object. 55 // Device error with details in response object.
56 deviceError 56 deviceError
57 }; 57 };
58 58
59 enum PairingType { 59 enum PairingType {
60 pinCode, 60 pinCode,
61 embeddedCode 61 embeddedCode,
62 ultrasound32,
63 audible32
62 }; 64 };
63 65
64 callback CloudDeviceListCallback = void(GCDDevice[] devices); 66 callback CloudDeviceListCallback = void(GCDDevice[] devices);
65 67
66 // |commandDefinitions| : Is "commandDefs" value of device described at 68 // |commandDefinitions| : Is "commandDefs" value of device described at
67 // https://developers.google.com/cloud-devices/v1/reference/devices 69 // https://developers.google.com/cloud-devices/v1/reference/devices
68 // TODO(vitalybuka): consider to describe object in IDL. 70 // TODO(vitalybuka): consider to describe object in IDL.
69 callback CommandDefinitionsCallback = void(object commandDefinitions); 71 callback CommandDefinitionsCallback = void(object commandDefinitions);
70 72
71 // |command| : Described at 73 // |command| : Described at
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // Subscribe to this event to start listening new or updated devices. New 213 // Subscribe to this event to start listening new or updated devices. New
212 // listeners will get called with all known devices on the network, and 214 // listeners will get called with all known devices on the network, and
213 // status updates for devices available through the cloud. 215 // status updates for devices available through the cloud.
214 static void onDeviceStateChanged(GCDDevice device); 216 static void onDeviceStateChanged(GCDDevice device);
215 217
216 // Notifies that device has disappeared. 218 // Notifies that device has disappeared.
217 // |deviceId| : The device has disappeared. 219 // |deviceId| : The device has disappeared.
218 static void onDeviceRemoved(DOMString deviceId); 220 static void onDeviceRemoved(DOMString deviceId);
219 }; 221 };
220 }; 222 };
OLDNEW
« no previous file with comments | « chrome/browser/local_discovery/privetv3_session.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698