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

Unified Diff: chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen.cc

Issue 8586030: Added ConfigurationPolicyProvider::RefreshPolicies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/login/enrollment/enterprise_enrollment_screen.cc
diff --git a/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen.cc b/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen.cc
index d34236c3be0285dba3362f35d9e1be1efb1cea16..43bfc3b14883b53959573b0c9ee2ab623d9c35f4 100644
--- a/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen.cc
+++ b/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_screen.cc
@@ -99,7 +99,7 @@ void EnterpriseEnrollmentScreen::OnAuthCancelled() {
policy::kMetricEnrollmentSize);
auth_fetcher_.reset();
registrar_.reset();
- g_browser_process->browser_policy_connector()->ResetDevicePolicy();
+ g_browser_process->browser_policy_connector()->ResetCloudPolicy();
Mattias Nissler (ping if slow) 2011/11/18 11:00:25 I dislike this. At this point we actually want to
Joao da Silva 2011/11/18 14:03:30 Reverted to just have ResetDevicePolicy.
get_screen_observer()->OnExit(
ScreenObserver::ENTERPRISE_ENROLLMENT_CANCELLED);
}
@@ -223,7 +223,7 @@ void EnterpriseEnrollmentScreen::OnPolicyStateChanged(
// Stop the policy infrastructure.
registrar_.reset();
- g_browser_process->browser_policy_connector()->ResetDevicePolicy();
+ g_browser_process->browser_policy_connector()->ResetCloudPolicy();
}
void EnterpriseEnrollmentScreen::HandleAuthError(
@@ -286,7 +286,7 @@ void EnterpriseEnrollmentScreen::WriteInstallAttributesData() {
// Proceed with policy fetch.
policy::BrowserPolicyConnector* connector =
g_browser_process->browser_policy_connector();
- connector->FetchDevicePolicy();
+ connector->FetchCloudPolicy();
return;
}
case policy::EnterpriseInstallAttributes::LOCK_NOT_READY: {

Powered by Google App Engine
This is Rietveld 408576698