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 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 18 matching lines...) Expand all Loading... |
29 */ | 29 */ |
30 | 30 |
31 #ifndef WebRTCSessionDescriptionRequest_h | 31 #ifndef WebRTCSessionDescriptionRequest_h |
32 #define WebRTCSessionDescriptionRequest_h | 32 #define WebRTCSessionDescriptionRequest_h |
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 "WebString.h" | 37 #include "WebString.h" |
38 | 38 |
39 namespace WebCore { | 39 namespace blink { |
40 class RTCSessionDescriptionRequest; | 40 class RTCSessionDescriptionRequest; |
41 } | 41 } |
42 | 42 |
43 namespace blink { | 43 namespace blink { |
44 class WebRTCSessionDescription; | 44 class WebRTCSessionDescription; |
45 | 45 |
46 class WebRTCSessionDescriptionRequest { | 46 class WebRTCSessionDescriptionRequest { |
47 public: | 47 public: |
48 class ExtraData { | 48 class ExtraData { |
49 public: | 49 public: |
(...skipping 19 matching lines...) Expand all Loading... |
69 BLINK_PLATFORM_EXPORT void requestFailed(const WebString& error) const; | 69 BLINK_PLATFORM_EXPORT void requestFailed(const WebString& error) const; |
70 | 70 |
71 // Extra data associated with this object. | 71 // Extra data associated with this object. |
72 // If non-null, the extra data pointer will be deleted when the object is de
stroyed. | 72 // If non-null, the extra data pointer will be deleted when the object is de
stroyed. |
73 // Setting the extra data pointer will cause any existing non-null | 73 // Setting the extra data pointer will cause any existing non-null |
74 // extra data pointer to be deleted. | 74 // extra data pointer to be deleted. |
75 BLINK_PLATFORM_EXPORT ExtraData* extraData() const; | 75 BLINK_PLATFORM_EXPORT ExtraData* extraData() const; |
76 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); | 76 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); |
77 | 77 |
78 #if INSIDE_BLINK | 78 #if INSIDE_BLINK |
79 BLINK_PLATFORM_EXPORT WebRTCSessionDescriptionRequest(const WTF::PassRefPtr<
WebCore::RTCSessionDescriptionRequest>&); | 79 BLINK_PLATFORM_EXPORT WebRTCSessionDescriptionRequest(const WTF::PassRefPtr<
blink::RTCSessionDescriptionRequest>&); |
80 #endif | 80 #endif |
81 | 81 |
82 private: | 82 private: |
83 WebPrivatePtr<WebCore::RTCSessionDescriptionRequest> m_private; | 83 WebPrivatePtr<blink::RTCSessionDescriptionRequest> m_private; |
84 }; | 84 }; |
85 | 85 |
86 } // namespace blink | 86 } // namespace blink |
87 | 87 |
88 #endif // WebRTCSessionDescriptionRequest_h | 88 #endif // WebRTCSessionDescriptionRequest_h |
OLD | NEW |