Index: remoting/host/it2me/it2me_native_messaging_host.h |
diff --git a/remoting/host/it2me/it2me_native_messaging_host.h b/remoting/host/it2me/it2me_native_messaging_host.h |
index 948c41a8c004e04db398e1f473f0228227f17cf4..09f7cb8b6b845311325a9104985b0a30a0683c7f 100644 |
--- a/remoting/host/it2me/it2me_native_messaging_host.h |
+++ b/remoting/host/it2me/it2me_native_messaging_host.h |
@@ -72,6 +72,7 @@ class It2MeNativeMessagingHost : public It2MeHost::Observer, |
std::unique_ptr<base::DictionaryValue> response); |
void SendErrorAndExit(std::unique_ptr<base::DictionaryValue> response, |
const std::string& description) const; |
+ void SendPolicyErrorAndExit() const; |
void SendMessageToClient(std::unique_ptr<base::Value> message) const; |
// Callback for DelegatingSignalStrategy. |
@@ -80,6 +81,9 @@ class It2MeNativeMessagingHost : public It2MeHost::Observer, |
// Called when initial policies are read and when they change. |
void OnPolicyUpdate(std::unique_ptr<base::DictionaryValue> policies); |
+ // Called when malformed policies are detected. |
+ void OnPolicyError(); |
+ |
// Returns whether the request was successfully sent to the elevated host. |
bool DelegateToElevatedHost(std::unique_ptr<base::DictionaryValue> message); |