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

Unified Diff: Source/platform/mediastream/RTCConfiguration.cpp

Issue 1311853005: RTCCertificate and RTCPeerConnection.generateCertificate added to JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed jochen's comments Created 5 years, 3 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: Source/platform/mediastream/RTCConfiguration.cpp
diff --git a/Source/modules/mediastream/RTCSessionDescriptionCallback.idl b/Source/platform/mediastream/RTCConfiguration.cpp
similarity index 83%
copy from Source/modules/mediastream/RTCSessionDescriptionCallback.idl
copy to Source/platform/mediastream/RTCConfiguration.cpp
index 59ffe441a6758bedde67a1101efbb550a921affc..2d12b8e0220f292e29f015ca3ba1258260770b0e 100644
--- a/Source/modules/mediastream/RTCSessionDescriptionCallback.idl
+++ b/Source/platform/mediastream/RTCConfiguration.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
+ * Copyright (C) 2015 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -28,7 +28,15 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-callback interface RTCSessionDescriptionCallback {
- void handleEvent(RTCSessionDescription sdp);
-};
+#include "config.h"
+#include "platform/mediastream/RTCConfiguration.h"
+namespace blink {
+
+RTCConfiguration::~RTCConfiguration()
+{
+ for (WebRTCCertificate* certificate : m_certificates)
+ delete certificate;
+}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698