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

Side by Side Diff: chrome/browser/extensions/api/enterprise_device_attributes/enterprise_device_attributes_api.h

Issue 1240283002: Implementation of the device attributes API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@extension_api
Patch Set: Created 5 years, 5 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
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_ENTERPRISE_DEVICE_ATTRIBUTES_ENTERPRISE_DE VICE_ATTRIBUTES_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_ENTERPRISE_DEVICE_ATTRIBUTES_ENTERPRISE_DE VICE_ATTRIBUTES_API_H_
7
8 #include "extensions/browser/extension_function.h"
9
10 namespace extensions {
11
12 class EnterpriseDeviceAttributesGetDirectoryDeviceIdFunction
13 : public AsyncExtensionFunction {
pneubeck (no reviews) 2015/07/23 12:53:22 i think you shouldn't inherit from that class anym
Polina Bondarenko 2015/07/24 16:47:58 Done.
14 public:
15 EnterpriseDeviceAttributesGetDirectoryDeviceIdFunction();
16
17 protected:
18 ~EnterpriseDeviceAttributesGetDirectoryDeviceIdFunction() override;
19
20 bool RunAsync() override;
21
22 private:
23 DECLARE_EXTENSION_FUNCTION("enterprise.deviceAttributes.getDirectoryDeviceId",
24 ENTERPRISE_DEVICEATTRIBUTES_GETDIRECTORYDEVICEID);
25 };
26
27 } // namespace extensions
28 #endif // CHROME_BROWSER_EXTENSIONS_API_ENTERPRISE_DEVICE_ATTRIBUTES_ENTERPRISE _DEVICE_ATTRIBUTES_API_H_
29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698