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

Unified Diff: chrome/browser/policy/policy_notifier.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/policy_notifier.cc
diff --git a/chrome/browser/policy/policy_notifier.cc b/chrome/browser/policy/policy_notifier.cc
index 9b993345ab80f386d5934c2e72a7b06843acd304..6a2637b5d7276d4efbcf4f50545bacd21fc87bff 100644
--- a/chrome/browser/policy/policy_notifier.cc
+++ b/chrome/browser/policy/policy_notifier.cc
@@ -57,6 +57,9 @@ void PolicyNotifier::RecomputeState() {
} else if (s[POLICY_CONTROLLER] == CloudPolicySubsystem::NETWORK_ERROR) {
state_ = s[POLICY_CONTROLLER];
error_details_ = e[POLICY_CONTROLLER];
+ } else if (s[POLICY_CONTROLLER] == CloudPolicySubsystem::TOKEN_FETCHED) {
+ state_ = s[POLICY_CONTROLLER];
+ error_details_ = e[POLICY_CONTROLLER];
} else {
state_ = s[POLICY_CACHE];
error_details_ = e[POLICY_CACHE];

Powered by Google App Engine
This is Rietveld 408576698