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

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

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 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 [platforms=("chromeos", "linux", "mac", "win")]
7 namespace gcdPrivate { 8 namespace gcdPrivate {
8 9
9 enum SetupType { mdns, wifi, cloud }; 10 enum SetupType { mdns, wifi, cloud };
10 11
11 // Represents a GCD device discovered locally or registered to a given user. 12 // Represents a GCD device discovered locally or registered to a given user.
12 dictionary GCDDevice { 13 dictionary GCDDevice {
13 // Opaque device identifier to be passed to API. 14 // Opaque device identifier to be passed to API.
14 DOMString deviceId; 15 DOMString deviceId;
15 16
16 // How this device was discovered. 17 // How this device was discovered.
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 // Subscribe to this event to start listening new or updated devices. New 227 // Subscribe to this event to start listening new or updated devices. New
227 // listeners will get called with all known devices on the network, and 228 // listeners will get called with all known devices on the network, and
228 // status updates for devices available through the cloud. 229 // status updates for devices available through the cloud.
229 static void onDeviceStateChanged(GCDDevice device); 230 static void onDeviceStateChanged(GCDDevice device);
230 231
231 // Notifies that device has disappeared. 232 // Notifies that device has disappeared.
232 // |deviceId| : The device has disappeared. 233 // |deviceId| : The device has disappeared.
233 static void onDeviceRemoved(DOMString deviceId); 234 static void onDeviceRemoved(DOMString deviceId);
234 }; 235 };
235 }; 236 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698