| OLD | NEW |
| 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 class MediaConstraints; | 49 class MediaConstraints; |
| 50 class MediaStreamComponent; | 50 class MediaStreamComponent; |
| 51 class RTCConfiguration; | 51 class RTCConfiguration; |
| 52 class RTCDTMFSenderHandler; | 52 class RTCDTMFSenderHandler; |
| 53 class RTCDataChannelHandler; | 53 class RTCDataChannelHandler; |
| 54 class RTCPeerConnectionHandlerClient; | 54 class RTCPeerConnectionHandlerClient; |
| 55 class RTCSessionDescriptionRequest; | 55 class RTCSessionDescriptionRequest; |
| 56 class RTCStatsRequest; | 56 class RTCStatsRequest; |
| 57 class RTCVoidRequest; | 57 class RTCVoidRequest; |
| 58 | 58 |
| 59 class RTCPeerConnectionHandler : public blink::WebRTCPeerConnectionHandlerClient
{ | 59 class RTCPeerConnectionHandler FINAL : public blink::WebRTCPeerConnectionHandler
Client { |
| 60 public: | 60 public: |
| 61 static PassOwnPtr<RTCPeerConnectionHandler> create(RTCPeerConnectionHandlerC
lient*); | 61 static PassOwnPtr<RTCPeerConnectionHandler> create(RTCPeerConnectionHandlerC
lient*); |
| 62 virtual ~RTCPeerConnectionHandler(); | 62 virtual ~RTCPeerConnectionHandler(); |
| 63 | 63 |
| 64 bool createWebHandler(); | 64 bool createWebHandler(); |
| 65 | 65 |
| 66 bool initialize(PassRefPtr<RTCConfiguration>, PassRefPtr<MediaConstraints>); | 66 bool initialize(PassRefPtr<RTCConfiguration>, PassRefPtr<MediaConstraints>); |
| 67 | 67 |
| 68 void createOffer(PassRefPtr<RTCSessionDescriptionRequest>, PassRefPtr<MediaC
onstraints>); | 68 void createOffer(PassRefPtr<RTCSessionDescriptionRequest>, PassRefPtr<MediaC
onstraints>); |
| 69 void createAnswer(PassRefPtr<RTCSessionDescriptionRequest>, PassRefPtr<Media
Constraints>); | 69 void createAnswer(PassRefPtr<RTCSessionDescriptionRequest>, PassRefPtr<Media
Constraints>); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 99 private: | 99 private: |
| 100 explicit RTCPeerConnectionHandler(RTCPeerConnectionHandlerClient*); | 100 explicit RTCPeerConnectionHandler(RTCPeerConnectionHandlerClient*); |
| 101 | 101 |
| 102 OwnPtr<blink::WebRTCPeerConnectionHandler> m_webHandler; | 102 OwnPtr<blink::WebRTCPeerConnectionHandler> m_webHandler; |
| 103 RTCPeerConnectionHandlerClient* m_client; | 103 RTCPeerConnectionHandlerClient* m_client; |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 } // namespace WebCore | 106 } // namespace WebCore |
| 107 | 107 |
| 108 #endif // RTCPeerConnectionHandler_h | 108 #endif // RTCPeerConnectionHandler_h |
| OLD | NEW |