Skip to content

Commit 9c44d16

Browse files
author
Marian-Vasile Laza
committed
Backed out 3 changesets (bug 1791633) for causing bustages on TransportSecurityInfo.cpp. CLOSED TREE
Backed out changeset 23b864e14db0 (bug 1791633) Backed out changeset 0bcba3375ec0 (bug 1791633) Backed out changeset ab0ea0d68f5c (bug 1791633)
1 parent ff4b800 commit 9c44d16

File tree

72 files changed

+2555
-2541
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+2555
-2541
lines changed

dom/media/webrtc/transport/test/webrtcproxychannel_unittest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class FakeSocketTransportProvider : public nsISocketTransport {
8585
return NS_OK;
8686
}
8787
NS_IMETHOD GetTlsSocketControl(
88-
nsITLSSocketControl** aTLSSocketControl) override {
88+
nsISSLSocketControl** aTLSSocketControl) override {
8989
MOZ_ASSERT(false);
9090
return NS_OK;
9191
}

dom/network/TCPSocket.cpp

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
55
* You can obtain one at http://mozilla.org/MPL/2.0/. */
66

7-
#include "TCPServerSocket.h"
7+
#include "mozilla/BasePrincipal.h"
8+
#include "mozilla/ErrorResult.h"
89
#include "TCPSocket.h"
10+
#include "TCPServerSocket.h"
911
#include "TCPSocketChild.h"
1012
#include "TCPSocketParent.h"
11-
#include "mozilla/BasePrincipal.h"
12-
#include "mozilla/ErrorResult.h"
1313
#include "mozilla/dom/RootedDictionary.h"
1414
#include "mozilla/dom/ScriptSettings.h"
1515
#include "mozilla/dom/TCPSocketBinding.h"
@@ -21,24 +21,24 @@
2121
#include "nsComponentManagerUtils.h"
2222
#include "nsContentUtils.h"
2323
#include "nsIArrayBufferInputStream.h"
24-
#include "nsIAsyncInputStream.h"
24+
#include "nsISocketTransportService.h"
25+
#include "nsISocketTransport.h"
26+
#include "nsIMultiplexInputStream.h"
2527
#include "nsIAsyncStreamCopier.h"
26-
#include "nsIBinaryInputStream.h"
27-
#include "nsICancelable.h"
28-
#include "nsIChannel.h"
2928
#include "nsIInputStream.h"
3029
#include "nsIInputStreamPump.h"
31-
#include "nsIMultiplexInputStream.h"
32-
#include "nsINSSErrorsService.h"
33-
#include "nsIObserverService.h"
34-
#include "nsIOutputStream.h"
35-
#include "nsIProtocolProxyService.h"
30+
#include "nsIBinaryInputStream.h"
3631
#include "nsIScriptableInputStream.h"
37-
#include "nsISocketTransport.h"
38-
#include "nsISocketTransportService.h"
32+
#include "nsIAsyncInputStream.h"
3933
#include "nsISupportsPrimitives.h"
40-
#include "nsITLSSocketControl.h"
4134
#include "nsITransport.h"
35+
#include "nsIObserverService.h"
36+
#include "nsIOutputStream.h"
37+
#include "nsINSSErrorsService.h"
38+
#include "nsISSLSocketControl.h"
39+
#include "nsIProtocolProxyService.h"
40+
#include "nsICancelable.h"
41+
#include "nsIChannel.h"
4242
#include "nsIURIMutator.h"
4343
#include "nsNetCID.h"
4444
#include "nsNetUtil.h"
@@ -455,7 +455,7 @@ void TCPSocket::NotifyCopyComplete(nsresult aStatus) {
455455
}
456456

457457
void TCPSocket::ActivateTLS() {
458-
nsCOMPtr<nsITLSSocketControl> tlsSocketControl;
458+
nsCOMPtr<nsISSLSocketControl> tlsSocketControl;
459459
mTransport->GetTlsSocketControl(getter_AddRefs(tlsSocketControl));
460460
if (tlsSocketControl) {
461461
tlsSocketControl->StartTLS();

ipc/glue/TransportSecurityInfoUtils.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
#include "ipc/IPCMessageUtils.h"
88
#include "mozilla/psm/TransportSecurityInfo.h"
9-
#include "nsNSSCertificate.h"
109

1110
namespace IPC {
1211

ipc/glue/TransportSecurityInfoUtils.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#ifndef mozilla_ipc_TransportSecurityInfoUtils_h
66
#define mozilla_ipc_TransportSecurityInfoUtils_h
77

8-
#include "ipc/EnumSerializer.h"
98
#include "mozilla/RefPtr.h"
109
#include "nsITransportSecurityInfo.h"
1110
#include "nsIX509Cert.h"
@@ -31,13 +30,6 @@ struct ParamTraits<nsIX509Cert*> {
3130
static bool Read(MessageReader* aReader, RefPtr<nsIX509Cert>* aResult);
3231
};
3332

34-
template <>
35-
struct ParamTraits<nsITransportSecurityInfo::OverridableErrorCategory>
36-
: public ContiguousEnumSerializerInclusive<
37-
nsITransportSecurityInfo::OverridableErrorCategory,
38-
nsITransportSecurityInfo::OverridableErrorCategory::ERROR_UNSET,
39-
nsITransportSecurityInfo::OverridableErrorCategory::ERROR_TIME> {};
40-
4133
} // namespace IPC
4234

4335
#endif // mozilla_ipc_TransportSecurityInfoUtils_h

0 commit comments

Comments
 (0)