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

Unified Diff: chrome/browser/chromeos/policy/device_policy_cros_browser_test.h

Issue 2701753004: Don't let creating Google accounts on the Active Directory devices. (Closed)
Patch Set: Update after review Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/policy/device_policy_cros_browser_test.h
diff --git a/chrome/browser/chromeos/policy/device_policy_cros_browser_test.h b/chrome/browser/chromeos/policy/device_policy_cros_browser_test.h
index d327bebcf340851d3e2fd38786a3fb406f8c9c2c..6d1159c365ad730f0e3fdd7410144fa986b443c6 100644
--- a/chrome/browser/chromeos/policy/device_policy_cros_browser_test.h
+++ b/chrome/browser/chromeos/policy/device_policy_cros_browser_test.h
@@ -28,6 +28,8 @@ class DevicePolicyCrosTestHelper {
// policies apply Chrome-wide. If this is not called, device policies will
// affect CrosSettings only.
static void MarkAsEnterpriseOwnedBy(const std::string& user_name);
+ // Marks the device as Active Directory enterprise-owned.
+ static void MarkAsActiveDirectoryEnterpriseOwned(const std::string& realm);
void MarkAsEnterpriseOwned();
// Writes the owner key to disk. To be called before installing a policy.
@@ -53,6 +55,8 @@ class DevicePolicyCrosBrowserTest : public InProcessBrowserTest {
void SetUpInProcessBrowserTestFixture() override;
void TearDownInProcessBrowserTestFixture() override;
+ virtual void MarkOwnership();
+
// Marks the device as enterprise-owned. Must be called to make device
// policies apply Chrome-wide. If this is not called, device policies will
// affect CrosSettings only.

Powered by Google App Engine
This is Rietveld 408576698