| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "chrome/browser/chromeos/attestation/platform_verification_impl.h" | 5 #include "chrome/browser/chromeos/attestation/platform_verification_impl.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/memory/ptr_util.h" |
| 9 #include "content/public/browser/browser_thread.h" | 10 #include "content/public/browser/browser_thread.h" |
| 10 #include "content/public/browser/web_contents.h" | 11 #include "content/public/browser/web_contents.h" |
| 11 #include "mojo/public/cpp/bindings/strong_binding.h" | 12 #include "mojo/public/cpp/bindings/strong_binding.h" |
| 12 | 13 |
| 13 namespace chromeos { | 14 namespace chromeos { |
| 14 namespace attestation { | 15 namespace attestation { |
| 15 | 16 |
| 16 using media::mojom::PlatformVerification; | 17 using media::mojom::PlatformVerification; |
| 17 | 18 |
| 18 // static | 19 // static |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 } | 72 } |
| 72 | 73 |
| 73 DCHECK(!signed_data.empty()); | 74 DCHECK(!signed_data.empty()); |
| 74 DCHECK(!signature.empty()); | 75 DCHECK(!signature.empty()); |
| 75 DCHECK(!platform_key_certificate.empty()); | 76 DCHECK(!platform_key_certificate.empty()); |
| 76 callback.Run(true, signed_data, signature, platform_key_certificate); | 77 callback.Run(true, signed_data, signature, platform_key_certificate); |
| 77 } | 78 } |
| 78 | 79 |
| 79 } // namespace attestation | 80 } // namespace attestation |
| 80 } // namespace chromeos | 81 } // namespace chromeos |
| OLD | NEW |