Index: chrome/browser/extensions/api/enterprise_device_attributes/enterprise_device_attributes_api.h |
diff --git a/chrome/browser/extensions/api/enterprise_device_attributes/enterprise_device_attributes_api.h b/chrome/browser/extensions/api/enterprise_device_attributes/enterprise_device_attributes_api.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ce16ec84466937778dff1ff2eda41dbd29c91533 |
--- /dev/null |
+++ b/chrome/browser/extensions/api/enterprise_device_attributes/enterprise_device_attributes_api.h |
@@ -0,0 +1,29 @@ |
+// 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. |
+ |
+#ifndef CHROME_BROWSER_EXTENSIONS_API_ENTERPRISE_DEVICE_ATTRIBUTES_ENTERPRISE_DEVICE_ATTRIBUTES_API_H_ |
+#define CHROME_BROWSER_EXTENSIONS_API_ENTERPRISE_DEVICE_ATTRIBUTES_ENTERPRISE_DEVICE_ATTRIBUTES_API_H_ |
+ |
+#include "extensions/browser/extension_function.h" |
+ |
+namespace extensions { |
+ |
+class EnterpriseDeviceAttributesGetDirectoryDeviceIdFunction |
+ : 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.
|
+ public: |
+ EnterpriseDeviceAttributesGetDirectoryDeviceIdFunction(); |
+ |
+ protected: |
+ ~EnterpriseDeviceAttributesGetDirectoryDeviceIdFunction() override; |
+ |
+ bool RunAsync() override; |
+ |
+ private: |
+ DECLARE_EXTENSION_FUNCTION("enterprise.deviceAttributes.getDirectoryDeviceId", |
+ ENTERPRISE_DEVICEATTRIBUTES_GETDIRECTORYDEVICEID); |
+}; |
+ |
+} // namespace extensions |
+#endif // CHROME_BROWSER_EXTENSIONS_API_ENTERPRISE_DEVICE_ATTRIBUTES_ENTERPRISE_DEVICE_ATTRIBUTES_API_H_ |
+ |