| 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #define WebRTCStatsResponse_h | 26 #define WebRTCStatsResponse_h |
| 27 | 27 |
| 28 #include "WebCommon.h" | 28 #include "WebCommon.h" |
| 29 #include "WebPrivatePtr.h" | 29 #include "WebPrivatePtr.h" |
| 30 #include "WebString.h" | 30 #include "WebString.h" |
| 31 | 31 |
| 32 namespace WebCore { | 32 namespace WebCore { |
| 33 class RTCStatsResponseBase; | 33 class RTCStatsResponseBase; |
| 34 } | 34 } |
| 35 | 35 |
| 36 namespace WebKit { | 36 namespace blink { |
| 37 | 37 |
| 38 class WebRTCStatsResponse { | 38 class WebRTCStatsResponse { |
| 39 public: | 39 public: |
| 40 WebRTCStatsResponse(const WebRTCStatsResponse& other) { assign(other); } | 40 WebRTCStatsResponse(const WebRTCStatsResponse& other) { assign(other); } |
| 41 WebRTCStatsResponse() { } | 41 WebRTCStatsResponse() { } |
| 42 ~WebRTCStatsResponse() { reset(); } | 42 ~WebRTCStatsResponse() { reset(); } |
| 43 | 43 |
| 44 WebRTCStatsResponse& operator=(const WebRTCStatsResponse& other) | 44 WebRTCStatsResponse& operator=(const WebRTCStatsResponse& other) |
| 45 { | 45 { |
| 46 assign(other); | 46 assign(other); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 57 #if BLINK_IMPLEMENTATION | 57 #if BLINK_IMPLEMENTATION |
| 58 WebRTCStatsResponse(const WTF::PassRefPtr<WebCore::RTCStatsResponseBase>&); | 58 WebRTCStatsResponse(const WTF::PassRefPtr<WebCore::RTCStatsResponseBase>&); |
| 59 | 59 |
| 60 operator WTF::PassRefPtr<WebCore::RTCStatsResponseBase>() const; | 60 operator WTF::PassRefPtr<WebCore::RTCStatsResponseBase>() const; |
| 61 #endif | 61 #endif |
| 62 | 62 |
| 63 private: | 63 private: |
| 64 WebPrivatePtr<WebCore::RTCStatsResponseBase> m_private; | 64 WebPrivatePtr<WebCore::RTCStatsResponseBase> m_private; |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 } // namespace WebKit | 67 } // namespace blink |
| 68 | 68 |
| 69 #endif // WebRTCStatsResponse_h | 69 #endif // WebRTCStatsResponse_h |
| OLD | NEW |