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
3 // found in the LICENSE file.
5 // Use the <code>chrome.enterprise.deviceAttributes</code> API to read device
7 namespace enterprise.deviceAttributes
{
8 callback GetDirectoryDeviceIdCallback
= void (DOMString deviceId
);
11 // Fetches the value of
12 // <a href="https://developers.google.com/admin-sdk/directory/v1/guides/manage-chrome-devices">the device identifier of the directory API</a>,
13 // that is generated by the server and identifies the cloud record of the
14 // device for querying in the cloud directory API.
15 // |callback| : Called with the device identifier of the directory API when
17 void getDirectoryDeviceId
(GetDirectoryDeviceIdCallback
callback);