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

Unified Diff: chrome/browser/policy/cloud_policy_controller.cc

Issue 6821045: Connect enrollment screen to cloud policy subsystem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit tests... Created 9 years, 8 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/policy/cloud_policy_controller.cc
diff --git a/chrome/browser/policy/cloud_policy_controller.cc b/chrome/browser/policy/cloud_policy_controller.cc
index 60171b1a1cbd9f9f81f84623e0a83a4fbaa06cb3..c03895258b16d68455b01be6ec54cc0a5efff827 100644
--- a/chrome/browser/policy/cloud_policy_controller.cc
+++ b/chrome/browser/policy/cloud_policy_controller.cc
@@ -227,11 +227,13 @@ void CloudPolicyController::FetchToken() {
std::string auth_token;
std::string device_id = identity_strategy_->GetDeviceID();
std::string machine_id = identity_strategy_->GetMachineID();
+ std::string machine_model = identity_strategy_->GetMachineModel();
em::DeviceRegisterRequest_Type policy_type =
identity_strategy_->GetPolicyRegisterType();
if (identity_strategy_->GetCredentials(&username, &auth_token) &&
CanBeInManagedDomain(username)) {
- token_fetcher_->FetchToken(auth_token, device_id, policy_type, machine_id);
+ token_fetcher_->FetchToken(auth_token, device_id, policy_type,
+ machine_id, machine_model);
}
}
« no previous file with comments | « chrome/browser/policy/browser_policy_connector.cc ('k') | chrome/browser/policy/cloud_policy_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698