From faa78dc38d060b0a18199a43a60e31b06f06aed7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Bostr=C3=B6m?= Date: Wed, 11 May 2016 10:23:25 +0200 Subject: [PATCH] Removed old DtlsIdentityRequestObserver::RequestIdentity function signature since the new signature is used everywhere. BUG=chromium:544902, webrtc:5092 R=mattdr@google.com, perkj@webrtc.org Review URL: https://codereview.webrtc.org/1964663004 . Cr-Commit-Position: refs/heads/master@{#12681} --- webrtc/api/dtlsidentitystore.h | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/webrtc/api/dtlsidentitystore.h b/webrtc/api/dtlsidentitystore.h index 5ded1f112b..e25b79591a 100644 --- a/webrtc/api/dtlsidentitystore.h +++ b/webrtc/api/dtlsidentitystore.h @@ -57,25 +57,10 @@ class DtlsIdentityStoreInterface { // The |observer| will be called when the requested identity is ready, or when // identity generation fails. - // TODO(torbjorng,hbos): There are currently two versions of RequestIdentity, - // with default implementation to call the other version of itself (so that a - // call can be made regardless of which version has been overridden). The 1st - // version exists because it is currently implemented in chromium. The 2nd - // version will become the one and only RequestIdentity as soon as chromium - // implements the correct version. crbug.com/544902, webrtc:5092. - virtual void RequestIdentity( - rtc::KeyParams key_params, - const rtc::scoped_refptr& observer) { - // Add default ("null") expiration. - RequestIdentity(key_params, rtc::Optional(), observer); - } virtual void RequestIdentity( const rtc::KeyParams& key_params, const rtc::Optional& expires_ms, - const rtc::scoped_refptr& observer) { - // Drop |expires|. - RequestIdentity(key_params, observer); - } + const rtc::scoped_refptr& observer) = 0; }; // The WebRTC default implementation of DtlsIdentityStoreInterface.