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

Side by Side Diff: 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: 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 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 22 matching lines...) Expand all
33 33
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 RTCConfiguration; 42 class RTCConfiguration;
43 class WebRTCCertificate;
43 class WebString; 44 class WebString;
44 class WebURL; 45 class WebURL;
45 46
46 class WebRTCICEServer { 47 class WebRTCICEServer {
47 public: 48 public:
48 WebRTCICEServer() { } 49 WebRTCICEServer() { }
49 WebRTCICEServer(const WebRTCICEServer& other) { assign(other); } 50 WebRTCICEServer(const WebRTCICEServer& other) { assign(other); }
50 ~WebRTCICEServer() { reset(); } 51 ~WebRTCICEServer() { reset(); }
51 52
52 WebRTCICEServer& operator=(const WebRTCICEServer& other) 53 WebRTCICEServer& operator=(const WebRTCICEServer& other)
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 109
109 BLINK_PLATFORM_EXPORT size_t numberOfServers() const; 110 BLINK_PLATFORM_EXPORT size_t numberOfServers() const;
110 BLINK_PLATFORM_EXPORT WebRTCICEServer server(size_t index) const; 111 BLINK_PLATFORM_EXPORT WebRTCICEServer server(size_t index) const;
111 112
112 BLINK_PLATFORM_EXPORT WebRTCIceTransports iceTransports() const; 113 BLINK_PLATFORM_EXPORT WebRTCIceTransports iceTransports() const;
113 114
114 BLINK_PLATFORM_EXPORT WebRTCBundlePolicy bundlePolicy() const; 115 BLINK_PLATFORM_EXPORT WebRTCBundlePolicy bundlePolicy() const;
115 116
116 BLINK_PLATFORM_EXPORT WebRTCRtcpMuxPolicy rtcpMuxPolicy() const; 117 BLINK_PLATFORM_EXPORT WebRTCRtcpMuxPolicy rtcpMuxPolicy() const;
117 118
119 BLINK_PLATFORM_EXPORT size_t numberOfCertificates() const;
120 BLINK_PLATFORM_EXPORT WebRTCCertificate* certificate(size_t index) const;
121
118 #if INSIDE_BLINK 122 #if INSIDE_BLINK
119 BLINK_PLATFORM_EXPORT WebRTCConfiguration(RTCConfiguration*); 123 BLINK_PLATFORM_EXPORT WebRTCConfiguration(RTCConfiguration*);
120 #endif 124 #endif
121 125
122 private: 126 private:
123 WebPrivatePtr<RTCConfiguration> m_private; 127 WebPrivatePtr<RTCConfiguration> m_private;
124 }; 128 };
125 129
126 } // namespace blink 130 } // namespace blink
127 131
128 #endif // WebRTCConfiguration_h 132 #endif // WebRTCConfiguration_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698