| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 16 matching lines...) Expand all Loading... |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef WebURLLoadTiming_h | 31 #ifndef WebURLLoadTiming_h |
| 32 #define WebURLLoadTiming_h | 32 #define WebURLLoadTiming_h |
| 33 | 33 |
| 34 #include "WebCommon.h" | 34 #include "WebCommon.h" |
| 35 #include "WebPrivatePtr.h" | 35 #include "WebPrivatePtr.h" |
| 36 | 36 |
| 37 namespace blink { class ResourceLoadTiming; } | 37 namespace blink { |
| 38 | 38 |
| 39 namespace blink { | 39 class ResourceLoadTiming; |
| 40 class WebString; | 40 class WebString; |
| 41 | 41 |
| 42 class WebURLLoadTiming { | 42 class WebURLLoadTiming { |
| 43 public: | 43 public: |
| 44 ~WebURLLoadTiming() { reset(); } | 44 ~WebURLLoadTiming() { reset(); } |
| 45 | 45 |
| 46 WebURLLoadTiming() { } | 46 WebURLLoadTiming() { } |
| 47 WebURLLoadTiming(const WebURLLoadTiming& d) { assign(d); } | 47 WebURLLoadTiming(const WebURLLoadTiming& d) { assign(d); } |
| 48 WebURLLoadTiming& operator=(const WebURLLoadTiming& d) | 48 WebURLLoadTiming& operator=(const WebURLLoadTiming& d) |
| 49 { | 49 { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 BLINK_PLATFORM_EXPORT double receiveHeadersEnd() const; | 87 BLINK_PLATFORM_EXPORT double receiveHeadersEnd() const; |
| 88 BLINK_PLATFORM_EXPORT void setReceiveHeadersEnd(double); | 88 BLINK_PLATFORM_EXPORT void setReceiveHeadersEnd(double); |
| 89 | 89 |
| 90 BLINK_PLATFORM_EXPORT double sslStart() const; | 90 BLINK_PLATFORM_EXPORT double sslStart() const; |
| 91 BLINK_PLATFORM_EXPORT void setSSLStart(double); | 91 BLINK_PLATFORM_EXPORT void setSSLStart(double); |
| 92 | 92 |
| 93 BLINK_PLATFORM_EXPORT double sslEnd() const; | 93 BLINK_PLATFORM_EXPORT double sslEnd() const; |
| 94 BLINK_PLATFORM_EXPORT void setSSLEnd(double); | 94 BLINK_PLATFORM_EXPORT void setSSLEnd(double); |
| 95 | 95 |
| 96 #if INSIDE_BLINK | 96 #if INSIDE_BLINK |
| 97 BLINK_PLATFORM_EXPORT WebURLLoadTiming(const WTF::PassRefPtr<blink::Resource
LoadTiming>&); | 97 BLINK_PLATFORM_EXPORT WebURLLoadTiming(const WTF::PassRefPtr<ResourceLoadTim
ing>&); |
| 98 BLINK_PLATFORM_EXPORT WebURLLoadTiming& operator=(const WTF::PassRefPtr<blin
k::ResourceLoadTiming>&); | 98 BLINK_PLATFORM_EXPORT WebURLLoadTiming& operator=(const WTF::PassRefPtr<Reso
urceLoadTiming>&); |
| 99 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<blink::ResourceLoadTiming>()
const; | 99 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<ResourceLoadTiming>() const; |
| 100 #endif | 100 #endif |
| 101 | 101 |
| 102 private: | 102 private: |
| 103 WebPrivatePtr<blink::ResourceLoadTiming> m_private; | 103 WebPrivatePtr<ResourceLoadTiming> m_private; |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 } // namespace blink | 106 } // namespace blink |
| 107 | 107 |
| 108 #endif | 108 #endif |
| OLD | NEW |