blob: e3a14e55a50c24e7b9ecef659deb3220bef044b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Use the <code>chrome.enterprise.deviceAttributes</code> API to read device
// attributes.
[use_movable_types=true] namespace enterprise.deviceAttributes {
callback GetDirectoryDeviceIdCallback = void (DOMString deviceId);
interface Functions {
// Fetches the value of
// <a href="https://developers.google.com/admin-sdk/directory/v1/guides/manage-chrome-devices">the device identifier of the directory API</a>,
// that is generated by the server and identifies the cloud record of the
// device for querying in the cloud directory API.
// |callback| : Called with the device identifier of the directory API when
// received.
void getDirectoryDeviceId(GetDirectoryDeviceIdCallback callback);
};
};
|