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

Side by Side Diff: chrome/browser/chromeos/attestation/platform_verification_impl.cc

Issue 1977173002: Rename media::interfaces to media::mojom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android + chromeos files Created 4 years, 7 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 unified diff | Download patch
OLDNEW
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 "content/public/browser/browser_thread.h" 9 #include "content/public/browser/browser_thread.h"
10 #include "content/public/browser/web_contents.h" 10 #include "content/public/browser/web_contents.h"
11 11
12 namespace chromeos { 12 namespace chromeos {
13 namespace attestation { 13 namespace attestation {
14 14
15 using media::interfaces::PlatformVerification; 15 using media::mojom::PlatformVerification;
16 16
17 // static 17 // static
18 void PlatformVerificationImpl::Create( 18 void PlatformVerificationImpl::Create(
19 content::RenderFrameHost* render_frame_host, 19 content::RenderFrameHost* render_frame_host,
20 mojo::InterfaceRequest<PlatformVerification> request) { 20 mojo::InterfaceRequest<PlatformVerification> request) {
21 DVLOG(2) << __FUNCTION__; 21 DVLOG(2) << __FUNCTION__;
22 DCHECK_CURRENTLY_ON(content::BrowserThread::UI); 22 DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
23 DCHECK(render_frame_host); 23 DCHECK(render_frame_host);
24 24
25 // The created object is strongly bound to (and owned by) the pipe. 25 // The created object is strongly bound to (and owned by) the pipe.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 } 73 }
74 74
75 DCHECK(!signed_data.empty()); 75 DCHECK(!signed_data.empty());
76 DCHECK(!signature.empty()); 76 DCHECK(!signature.empty());
77 DCHECK(!platform_key_certificate.empty()); 77 DCHECK(!platform_key_certificate.empty());
78 callback.Run(true, signed_data, signature, platform_key_certificate); 78 callback.Run(true, signed_data, signature, platform_key_certificate);
79 } 79 }
80 80
81 } // namespace attestation 81 } // namespace attestation
82 } // namespace chromeos 82 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/attestation/platform_verification_impl.h ('k') | chrome/browser/media/output_protection_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698