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

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

Issue 1827083005: [Extensions] Convert APIs to use movable types [9] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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.signedInDevices</code> API to get a list of devices 5 // Use the <code>chrome.signedInDevices</code> API to get a list of devices
6 // signed into chrome with the same account as the current profile. 6 // signed into chrome with the same account as the current profile.
7 namespace signedInDevices { 7 [use_movable_types=true] namespace signedInDevices {
8 enum OS { 8 enum OS {
9 win, 9 win,
10 mac, 10 mac,
11 linux, 11 linux,
12 chrome_os, 12 chrome_os,
13 android, 13 android,
14 ios, 14 ios,
15 unknown 15 unknown
16 }; 16 };
17 17
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 static void get(optional boolean isLocal, DeviceInfoCallback callback); 55 static void get(optional boolean isLocal, DeviceInfoCallback callback);
56 }; 56 };
57 57
58 interface Events { 58 interface Events {
59 // Fired if the DeviceInfo object of any of the signed in devices 59 // Fired if the DeviceInfo object of any of the signed in devices
60 // change or a new device is added or a device removed. 60 // change or a new device is added or a device removed.
61 // |callback|: The callback to be invoked with the array of DeviceInfo 61 // |callback|: The callback to be invoked with the array of DeviceInfo
62 // objects. 62 // objects.
63 static void onDeviceInfoChange(DeviceInfo[] devices); 63 static void onDeviceInfoChange(DeviceInfo[] devices);
64 }; 64 };
65 }; 65 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/settings_private.idl ('k') | chrome/common/extensions/api/streams_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698