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

Unified Diff: components/policy/core/common/cloud/mock_cloud_policy_client.h

Issue 2977033002: Mixed Licenses Enrollment (Closed)
Patch Set: Fix CloudPolicyClientTest Created 3 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 side-by-side diff with in-line comments
Download patch
Index: components/policy/core/common/cloud/mock_cloud_policy_client.h
diff --git a/components/policy/core/common/cloud/mock_cloud_policy_client.h b/components/policy/core/common/cloud/mock_cloud_policy_client.h
index 320c1fcd9da9716cf0af4e503741f78fd6e02a6c..dcee579b0f9a043afe58f9685b63e45f45ec5b6d 100644
--- a/components/policy/core/common/cloud/mock_cloud_policy_client.h
+++ b/components/policy/core/common/cloud/mock_cloud_policy_client.h
@@ -21,13 +21,15 @@ class MockCloudPolicyClient : public CloudPolicyClient {
virtual ~MockCloudPolicyClient();
MOCK_METHOD2(SetupRegistration, void(const std::string&, const std::string&));
- MOCK_METHOD6(Register,
- void(enterprise_management::DeviceRegisterRequest::Type type,
- enterprise_management::DeviceRegisterRequest::Flavor flavor,
- const std::string&,
- const std::string&,
- const std::string&,
- const std::string&));
+ MOCK_METHOD7(
+ Register,
+ void(enterprise_management::DeviceRegisterRequest::Type type,
+ enterprise_management::DeviceRegisterRequest::Flavor flavor,
+ enterprise_management::LicenseType::LicenseTypeEnum license_type,
+ const std::string&,
+ const std::string&,
+ const std::string&,
+ const std::string&));
MOCK_METHOD0(FetchPolicy, void(void));
MOCK_METHOD0(Unregister, void(void));
MOCK_METHOD2(UploadCertificate,

Powered by Google App Engine
This is Rietveld 408576698