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 22 matching lines...) Expand all Loading... |
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 WebCore { |
40 class RTCVoidRequest; | 40 class RTCVoidRequest; |
41 } | 41 } |
42 | 42 |
43 namespace WebKit { | 43 namespace blink { |
44 | 44 |
45 class WebRTCVoidRequest { | 45 class WebRTCVoidRequest { |
46 public: | 46 public: |
47 class ExtraData { | 47 class ExtraData { |
48 public: | 48 public: |
49 virtual ~ExtraData() { } | 49 virtual ~ExtraData() { } |
50 }; | 50 }; |
51 | 51 |
52 WebRTCVoidRequest() { } | 52 WebRTCVoidRequest() { } |
53 WebRTCVoidRequest(const WebRTCVoidRequest& other) { assign(other); } | 53 WebRTCVoidRequest(const WebRTCVoidRequest& other) { assign(other); } |
(...skipping 21 matching lines...) Expand all Loading... |
75 BLINK_EXPORT void setExtraData(ExtraData*); | 75 BLINK_EXPORT void setExtraData(ExtraData*); |
76 | 76 |
77 #if BLINK_IMPLEMENTATION | 77 #if BLINK_IMPLEMENTATION |
78 WebRTCVoidRequest(const WTF::PassRefPtr<WebCore::RTCVoidRequest>&); | 78 WebRTCVoidRequest(const WTF::PassRefPtr<WebCore::RTCVoidRequest>&); |
79 #endif | 79 #endif |
80 | 80 |
81 private: | 81 private: |
82 WebPrivatePtr<WebCore::RTCVoidRequest> m_private; | 82 WebPrivatePtr<WebCore::RTCVoidRequest> m_private; |
83 }; | 83 }; |
84 | 84 |
85 } // namespace WebKit | 85 } // namespace blink |
86 | 86 |
87 #endif // WebRTCVoidRequest_h | 87 #endif // WebRTCVoidRequest_h |
OLD | NEW |