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

Unified Diff: remoting/host/policy_watcher.cc

Issue 910403002: Suspend (rather than shut down) the host upon policy errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mistyped-policies
Patch Set: Style tweaks in remoting_me2me_host.cc Created 5 years, 10 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: remoting/host/policy_watcher.cc
diff --git a/remoting/host/policy_watcher.cc b/remoting/host/policy_watcher.cc
index 2d16584c858967ae00a27e8bbb10a2e0a4544aaa..1c63167f89532173142167840a1896d92b7f21c9 100644
--- a/remoting/host/policy_watcher.cc
+++ b/remoting/host/policy_watcher.cc
@@ -145,6 +145,7 @@ void PolicyWatcher::UpdatePolicies(
}
void PolicyWatcher::SignalPolicyError() {
+ old_policies_->Clear();
policy_error_callback_.Run();
}

Powered by Google App Engine
This is Rietveld 408576698