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

Unified Diff: chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc

Issue 2677563005: Chromad: Use DM server reply to determine enrollment type (Closed)
Patch Set: More comments 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_cloud_policy_manager_chromeos_unittest.cc
diff --git a/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc b/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc
index 342c610f167f9a161bb43aaad92bebf618fc4c3e..e26994bbc87590d4d23482212f0518f30065fab8 100644
--- a/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc
+++ b/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc
@@ -270,6 +270,7 @@ class DeviceCloudPolicyManagerChromeOSTest
SchemaRegistry schema_registry_;
std::unique_ptr<TestingDeviceCloudPolicyManagerChromeOS> manager_;
std::unique_ptr<DeviceCloudPolicyInitializer> initializer_;
+
private:
DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOSTest);
};
@@ -504,7 +505,7 @@ class DeviceCloudPolicyManagerChromeOSEnrollmentTest
: EnrollmentConfig::MODE_MANUAL;
std::string token = with_cert ? "" : "auth token";
initializer_->StartEnrollment(
- &device_management_service_, enrollment_config, token,
+ &device_management_service_, nullptr, enrollment_config, token,
base::Bind(&DeviceCloudPolicyManagerChromeOSEnrollmentTest::Done,
base::Unretained(this)));
base::RunLoop().RunUntilIdle();

Powered by Google App Engine
This is Rietveld 408576698