| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 RTCPeerConnection*, | 50 RTCPeerConnection*, |
| 51 VoidCallback*, | 51 VoidCallback*, |
| 52 RTCPeerConnectionErrorCallback*); | 52 RTCPeerConnectionErrorCallback*); |
| 53 ~RTCVoidRequestImpl() override; | 53 ~RTCVoidRequestImpl() override; |
| 54 | 54 |
| 55 // RTCVoidRequest | 55 // RTCVoidRequest |
| 56 void requestSucceeded() override; | 56 void requestSucceeded() override; |
| 57 void requestFailed(const String& error) override; | 57 void requestFailed(const String& error) override; |
| 58 | 58 |
| 59 // ActiveDOMObject | 59 // ActiveDOMObject |
| 60 void stop() override; | 60 void contextDestroyed() override; |
| 61 | 61 |
| 62 DECLARE_VIRTUAL_TRACE(); | 62 DECLARE_VIRTUAL_TRACE(); |
| 63 | 63 |
| 64 private: | 64 private: |
| 65 RTCVoidRequestImpl(ExecutionContext*, | 65 RTCVoidRequestImpl(ExecutionContext*, |
| 66 RTCPeerConnection*, | 66 RTCPeerConnection*, |
| 67 VoidCallback*, | 67 VoidCallback*, |
| 68 RTCPeerConnectionErrorCallback*); | 68 RTCPeerConnectionErrorCallback*); |
| 69 | 69 |
| 70 void clear(); | 70 void clear(); |
| 71 | 71 |
| 72 Member<VoidCallback> m_successCallback; | 72 Member<VoidCallback> m_successCallback; |
| 73 Member<RTCPeerConnectionErrorCallback> m_errorCallback; | 73 Member<RTCPeerConnectionErrorCallback> m_errorCallback; |
| 74 Member<RTCPeerConnection> m_requester; | 74 Member<RTCPeerConnection> m_requester; |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 } // namespace blink | 77 } // namespace blink |
| 78 | 78 |
| 79 #endif // RTCVoidRequestImpl_h | 79 #endif // RTCVoidRequestImpl_h |
| OLD | NEW |