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

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

Issue 6882038: Move writing information to the lockbox after registering with the DM server. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: 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_subsystem.cc
diff --git a/chrome/browser/policy/cloud_policy_subsystem.cc b/chrome/browser/policy/cloud_policy_subsystem.cc
index 77752b078901f893ddebdb31637a8adc8ab80f7e..880eb6d4d2665ab150d179de86e82d073c423a60 100644
--- a/chrome/browser/policy/cloud_policy_subsystem.cc
+++ b/chrome/browser/policy/cloud_policy_subsystem.cc
@@ -127,6 +127,14 @@ void CloudPolicySubsystem::StopAutoRetry() {
device_token_fetcher_->StopAutoRetry();
}
+void CloudPolicySubsystem::StopAfterTokenFetch(bool enabled) {
+ cloud_policy_controller_->StopAfterTokenFetch(enabled);
+}
+
+void CloudPolicySubsystem::SendPolicyRequest() {
+ cloud_policy_controller_->OnDeviceTokenAvailable();
+}
+
ConfigurationPolicyProvider* CloudPolicySubsystem::GetManagedPolicyProvider() {
if (cloud_policy_cache_.get())
return cloud_policy_cache_->GetManagedPolicyProvider();

Powered by Google App Engine
This is Rietveld 408576698