OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "extensions/browser/api/cast_channel/cast_auth_util.h" | 5 #include "extensions/browser/api/cast_channel/cast_auth_util.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" |
10 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
11 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
12 #include "extensions/browser/api/cast_channel/cast_message_util.h" | 13 #include "extensions/browser/api/cast_channel/cast_message_util.h" |
13 #include "extensions/common/api/cast_channel/cast_channel.pb.h" | 14 #include "extensions/common/api/cast_channel/cast_channel.pb.h" |
14 #include "extensions/common/cast/cast_cert_validator.h" | 15 #include "extensions/common/cast/cast_cert_validator.h" |
15 #include "net/cert/x509_certificate.h" | 16 #include "net/cert/x509_certificate.h" |
16 | 17 |
17 namespace extensions { | 18 namespace extensions { |
18 namespace api { | 19 namespace api { |
19 namespace cast_channel { | 20 namespace cast_channel { |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 if (ret.Success()) | 188 if (ret.Success()) |
188 ret = verification_context->VerifySignatureOverData(response.signature(), | 189 ret = verification_context->VerifySignatureOverData(response.signature(), |
189 signature_input); | 190 signature_input); |
190 | 191 |
191 return TranslateVerificationResult(ret); | 192 return TranslateVerificationResult(ret); |
192 } | 193 } |
193 | 194 |
194 } // namespace cast_channel | 195 } // namespace cast_channel |
195 } // namespace api | 196 } // namespace api |
196 } // namespace extensions | 197 } // namespace extensions |
OLD | NEW |