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

Unified Diff: content/renderer/media/peer_connection_identity_store.h

Issue 1740993002: RTCPeerConnection.generateCertificate: Optionally specify expiration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ...and generateCertificateExpires signature Created 4 years, 9 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
Index: content/renderer/media/peer_connection_identity_store.h
diff --git a/content/renderer/media/peer_connection_identity_store.h b/content/renderer/media/peer_connection_identity_store.h
index 35d99c5a6c4766b665d669c19bfc7c7c59e142c0..cdd0ec29836e145504aa9f1f3e78c3d98a65de15 100644
--- a/content/renderer/media/peer_connection_identity_store.h
+++ b/content/renderer/media/peer_connection_identity_store.h
@@ -9,6 +9,7 @@
#include "base/single_thread_task_runner.h"
#include "base/threading/thread_checker.h"
#include "third_party/webrtc/api/dtlsidentitystore.h"
+#include "third_party/webrtc/base/optional.h"
#include "url/gurl.h"
namespace content {
@@ -27,7 +28,8 @@ class PeerConnectionIdentityStore
// webrtc::DtlsIdentityStoreInterface override;
void RequestIdentity(
- rtc::KeyParams key_params,
+ const rtc::KeyParams& key_params,
+ const rtc::Optional<uint64_t>& expires_ms,
Ryan Sleevi 2016/03/08 17:06:10 This seems like a clear violation, through creativ
hbos_chromium 2016/04/13 17:03:08 You're referring to two RequestIdentity signatures
const rtc::scoped_refptr<webrtc::DtlsIdentityRequestObserver>& observer)
override;

Powered by Google App Engine
This is Rietveld 408576698