| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 virtual ~RTCSessionDescriptionRequest() { } | 48 virtual ~RTCSessionDescriptionRequest() { } |
| 49 | 49 |
| 50 virtual void requestSucceeded(const WebRTCSessionDescription&) = 0; | 50 virtual void requestSucceeded(const WebRTCSessionDescription&) = 0; |
| 51 virtual void requestFailed(const String& error) = 0; | 51 virtual void requestFailed(const String& error) = 0; |
| 52 | 52 |
| 53 ExtraData* extraData() const { return m_extraData.get(); } | 53 ExtraData* extraData() const { return m_extraData.get(); } |
| 54 void setExtraData(PassOwnPtr<ExtraData> extraData) { m_extraData = extraData
; } | 54 void setExtraData(PassOwnPtr<ExtraData> extraData) { m_extraData = extraData
; } |
| 55 | 55 |
| 56 // Need to eagerly finalize ExtraData. |
| 57 EAGERLY_FINALIZE(); |
| 56 DEFINE_INLINE_VIRTUAL_TRACE() { } | 58 DEFINE_INLINE_VIRTUAL_TRACE() { } |
| 57 | 59 |
| 58 protected: | 60 protected: |
| 59 RTCSessionDescriptionRequest() { } | 61 RTCSessionDescriptionRequest() { } |
| 60 | 62 |
| 61 private: | 63 private: |
| 62 OwnPtr<ExtraData> m_extraData; | 64 OwnPtr<ExtraData> m_extraData; |
| 63 }; | 65 }; |
| 64 | 66 |
| 65 } // namespace blink | 67 } // namespace blink |
| 66 | 68 |
| 67 #endif // RTCSessionDescriptionRequest_h | 69 #endif // RTCSessionDescriptionRequest_h |
| OLD | NEW |