diff options
Diffstat (limited to 'remoting/host')
-rw-r--r-- | remoting/host/remoting_me2me_host.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc index 180c15b..c44740d 100644 --- a/remoting/host/remoting_me2me_host.cc +++ b/remoting/host/remoting_me2me_host.cc @@ -801,6 +801,8 @@ void HostProcess::CreateAuthenticatorFactory() { host_->set_pairing_registry(pairing_registry); } else { + // ThirdPartyAuthConfig::Parse() leaves the config in a valid state, so + // these URLs are both valid. DCHECK(third_party_auth_config_.token_url.is_valid()); DCHECK(third_party_auth_config_.token_validation_url.is_valid()); @@ -1372,6 +1374,9 @@ bool HostProcess::OnHostTokenUrlPolicyUpdate(base::DictionaryValue* policies) { return true; case ThirdPartyAuthConfig::InvalidPolicy: default: + // Unreachable, because PolicyWatcher::OnPolicyUpdated() enforces that + // the policy is well-formed (including checks specific to + // ThirdPartyAuthConfig), before notifying of policy updates. NOTREACHED(); return false; } |