Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / chromeos / policy / stub_enterprise_install_attributes.h
index 2ddccec..84b4473 100644 (file)
@@ -29,6 +29,16 @@ class StubEnterpriseInstallAttributes : public EnterpriseInstallAttributes {
   DISALLOW_COPY_AND_ASSIGN(StubEnterpriseInstallAttributes);
 };
 
+// Helper class to set enterprise install attributes in the scope of a test.
+class ScopedStubEnterpriseInstallAttributes {
+ public:
+  ScopedStubEnterpriseInstallAttributes(const std::string& domain,
+                                        const std::string& registration_user,
+                                        const std::string& device_id,
+                                        DeviceMode mode);
+  ~ScopedStubEnterpriseInstallAttributes();
+};
+
 }  // namespace policy
 
 #endif  // CHROME_BROWSER_CHROMEOS_POLICY_STUB_ENTERPRISE_INSTALL_ATTRIBUTES_H_