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

Unified Diff: chrome/browser/chromeos/attestation/platform_verification_impl.h

Issue 1133493007: Use mojo::StrongBinding in PlatformVerificationImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/attestation/platform_verification_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/attestation/platform_verification_impl.h
diff --git a/chrome/browser/chromeos/attestation/platform_verification_impl.h b/chrome/browser/chromeos/attestation/platform_verification_impl.h
index 1f4549f3971d43b3f5ed7a68125b06920b392741..d30f0a2ad887bd033fb28ddb59efd3f3d6fec2af 100644
--- a/chrome/browser/chromeos/attestation/platform_verification_impl.h
+++ b/chrome/browser/chromeos/attestation/platform_verification_impl.h
@@ -13,7 +13,7 @@
#include "chrome/browser/chromeos/attestation/platform_verification_flow.h"
#include "content/public/browser/render_frame_host.h"
#include "media/mojo/interfaces/platform_verification.mojom.h"
-#include "third_party/mojo/src/mojo/public/cpp/bindings/interface_impl.h"
+#include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h"
namespace chromeos {
namespace attestation {
@@ -22,14 +22,15 @@ namespace attestation {
// PlatformVerificationFlow. Can only be used on the UI thread because
// PlatformVerificationFlow lives on the UI thread.
class PlatformVerificationImpl
- : public mojo::InterfaceImpl<media::interfaces::PlatformVerification> {
+ : public media::interfaces::PlatformVerification {
public:
static void Create(
content::RenderFrameHost* render_frame_host,
mojo::InterfaceRequest<media::interfaces::PlatformVerification> request);
- explicit PlatformVerificationImpl(
- content::RenderFrameHost* render_frame_host);
+ PlatformVerificationImpl(
+ content::RenderFrameHost* render_frame_host,
+ mojo::InterfaceRequest<PlatformVerification> request);
~PlatformVerificationImpl() override;
// mojo::InterfaceImpl<PlatformVerification> implementation.
@@ -46,6 +47,8 @@ class PlatformVerificationImpl
const std::string& signature,
const std::string& platform_key_certificate);
+ mojo::StrongBinding<media::interfaces::PlatformVerification> binding_;
+
content::RenderFrameHost* const render_frame_host_;
scoped_refptr<PlatformVerificationFlow> platform_verification_flow_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/attestation/platform_verification_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698