Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / common / extensions / api / enterprise_device_attributes.idl
blob1960c4dfcaa28e80b199e5890a9dadc331f56cc5
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
6 // attributes.
7 namespace enterprise.deviceAttributes {
8 callback GetDirectoryDeviceIdCallback = void (DOMString deviceId);
10 interface Functions {
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
16 // received.
17 void getDirectoryDeviceId(GetDirectoryDeviceIdCallback callback);