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

Side by Side Diff: third_party/WebKit/public/platform/WebRTCConfiguration.h

Issue 1311853005: RTCCertificate and RTCPeerConnection.generateCertificate added to JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Chromium implementation of Blink interfaces. Addressed comments. Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 23 matching lines...) Expand all
34 #include "WebCommon.h" 34 #include "WebCommon.h"
35 #include "WebNonCopyable.h" 35 #include "WebNonCopyable.h"
36 #include "WebPrivatePtr.h" 36 #include "WebPrivatePtr.h"
37 #include "WebVector.h" 37 #include "WebVector.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class RTCIceServer; 41 class RTCIceServer;
42 class RTCIceServerArray; 42 class RTCIceServerArray;
43 class RTCConfiguration; 43 class RTCConfiguration;
44 class WebRTCCertificate;
44 class WebString; 45 class WebString;
45 class WebURL; 46 class WebURL;
46 47
47 class WebRTCICEServer { 48 class WebRTCICEServer {
48 public: 49 public:
49 WebRTCICEServer() { } 50 WebRTCICEServer() { }
50 WebRTCICEServer(const WebRTCICEServer& other) { assign(other); } 51 WebRTCICEServer(const WebRTCICEServer& other) { assign(other); }
51 ~WebRTCICEServer() { reset(); } 52 ~WebRTCICEServer() { reset(); }
52 53
53 WebRTCICEServer& operator=(const WebRTCICEServer& other) 54 WebRTCICEServer& operator=(const WebRTCICEServer& other)
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 BLINK_PLATFORM_EXPORT void reset(); 135 BLINK_PLATFORM_EXPORT void reset();
135 bool isNull() const { return m_private.isNull(); } 136 bool isNull() const { return m_private.isNull(); }
136 137
137 BLINK_PLATFORM_EXPORT WebRTCIceTransports iceTransports() const; 138 BLINK_PLATFORM_EXPORT WebRTCIceTransports iceTransports() const;
138 139
139 BLINK_PLATFORM_EXPORT WebRTCBundlePolicy bundlePolicy() const; 140 BLINK_PLATFORM_EXPORT WebRTCBundlePolicy bundlePolicy() const;
140 141
141 BLINK_PLATFORM_EXPORT WebRTCRtcpMuxPolicy rtcpMuxPolicy() const; 142 BLINK_PLATFORM_EXPORT WebRTCRtcpMuxPolicy rtcpMuxPolicy() const;
142 BLINK_PLATFORM_EXPORT WebRTCICEServerArray iceServers() const; 143 BLINK_PLATFORM_EXPORT WebRTCICEServerArray iceServers() const;
143 144
145 BLINK_PLATFORM_EXPORT size_t numberOfCertificates() const;
146 BLINK_PLATFORM_EXPORT WebRTCCertificate* certificate(size_t index) const;
147
144 #if INSIDE_BLINK 148 #if INSIDE_BLINK
145 BLINK_PLATFORM_EXPORT WebRTCConfiguration(RTCConfiguration*); 149 BLINK_PLATFORM_EXPORT WebRTCConfiguration(RTCConfiguration*);
146 #endif 150 #endif
147 151
148 private: 152 private:
149 WebPrivatePtr<RTCConfiguration> m_private; 153 WebPrivatePtr<RTCConfiguration> m_private;
150 }; 154 };
151 155
152 } // namespace blink 156 } // namespace blink
153 157
154 #endif // WebRTCConfiguration_h 158 #endif // WebRTCConfiguration_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebRTCCertificateGenerator.h ('k') | third_party/WebKit/public/platform/WebRTCKeyType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698