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

Unified Diff: remoting/host/policy_hack/policy_watcher_linux.cc

Issue 722743003: Reporting of policy errors via host-offline-reason: part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed feedback from Lambros Created 6 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: remoting/host/policy_hack/policy_watcher_linux.cc
diff --git a/remoting/host/policy_hack/policy_watcher_linux.cc b/remoting/host/policy_hack/policy_watcher_linux.cc
index d67b49bf6096c52cbaabba860f6d6e8c8b86fcce..bd495da7c4a9fd79c4e9a14bff48e326b2dc72a2 100644
--- a/remoting/host/policy_hack/policy_watcher_linux.cc
+++ b/remoting/host/policy_hack/policy_watcher_linux.cc
@@ -186,6 +186,7 @@ class PolicyWatcherLinux : public PolicyWatcher {
} else {
// A failure to load policy definitions is probably temporary, so try
// again soon.
+ SignalTransientPolicyError();
ScheduleReloadTask(base::TimeDelta::FromSeconds(kSettleIntervalSeconds));
}
}

Powered by Google App Engine
This is Rietveld 408576698