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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 53 |
54 WEBKIT_EXPORT void initialize(); | 54 WEBKIT_EXPORT void initialize(); |
55 WEBKIT_EXPORT void reset(); | 55 WEBKIT_EXPORT void reset(); |
56 WEBKIT_EXPORT void assign(const WebURLLoadTiming&); | 56 WEBKIT_EXPORT void assign(const WebURLLoadTiming&); |
57 | 57 |
58 bool isNull() const { return m_private.isNull(); } | 58 bool isNull() const { return m_private.isNull(); } |
59 | 59 |
60 WEBKIT_EXPORT double requestTime() const; | 60 WEBKIT_EXPORT double requestTime() const; |
61 WEBKIT_EXPORT void setRequestTime(double); | 61 WEBKIT_EXPORT void setRequestTime(double); |
62 | 62 |
63 WEBKIT_EXPORT int proxyStart() const; | 63 WEBKIT_EXPORT double proxyStart() const; |
64 WEBKIT_EXPORT void setProxyStart(int); | 64 WEBKIT_EXPORT void setProxyStart(double); |
65 | 65 |
66 WEBKIT_EXPORT int proxyEnd() const; | 66 WEBKIT_EXPORT double proxyEnd() const; |
67 WEBKIT_EXPORT void setProxyEnd(int); | 67 WEBKIT_EXPORT void setProxyEnd(double); |
68 | 68 |
69 WEBKIT_EXPORT int dnsStart() const; | 69 WEBKIT_EXPORT double dnsStart() const; |
70 WEBKIT_EXPORT void setDNSStart(int); | 70 WEBKIT_EXPORT void setDNSStart(double); |
71 | 71 |
72 WEBKIT_EXPORT int dnsEnd() const; | 72 WEBKIT_EXPORT double dnsEnd() const; |
73 WEBKIT_EXPORT void setDNSEnd(int); | 73 WEBKIT_EXPORT void setDNSEnd(double); |
74 | 74 |
75 WEBKIT_EXPORT int connectStart() const; | 75 WEBKIT_EXPORT double connectStart() const; |
76 WEBKIT_EXPORT void setConnectStart(int); | 76 WEBKIT_EXPORT void setConnectStart(double); |
77 | 77 |
78 WEBKIT_EXPORT int connectEnd() const; | 78 WEBKIT_EXPORT double connectEnd() const; |
79 WEBKIT_EXPORT void setConnectEnd(int); | 79 WEBKIT_EXPORT void setConnectEnd(double); |
80 | 80 |
81 WEBKIT_EXPORT int sendStart() const; | 81 WEBKIT_EXPORT double sendStart() const; |
82 WEBKIT_EXPORT void setSendStart(int); | 82 WEBKIT_EXPORT void setSendStart(double); |
83 | 83 |
84 WEBKIT_EXPORT int sendEnd() const; | 84 WEBKIT_EXPORT double sendEnd() const; |
85 WEBKIT_EXPORT void setSendEnd(int); | 85 WEBKIT_EXPORT void setSendEnd(double); |
86 | 86 |
87 WEBKIT_EXPORT int receiveHeadersEnd() const; | 87 WEBKIT_EXPORT double receiveHeadersEnd() const; |
88 WEBKIT_EXPORT void setReceiveHeadersEnd(int); | 88 WEBKIT_EXPORT void setReceiveHeadersEnd(double); |
89 | 89 |
90 WEBKIT_EXPORT int sslStart() const; | 90 WEBKIT_EXPORT double sslStart() const; |
91 WEBKIT_EXPORT void setSSLStart(int); | 91 WEBKIT_EXPORT void setSSLStart(double); |
92 | 92 |
93 WEBKIT_EXPORT int sslEnd() const; | 93 WEBKIT_EXPORT double sslEnd() const; |
94 WEBKIT_EXPORT void setSSLEnd(int); | 94 WEBKIT_EXPORT void setSSLEnd(double); |
95 | 95 |
96 #if WEBKIT_IMPLEMENTATION | 96 #if WEBKIT_IMPLEMENTATION |
97 WebURLLoadTiming(const WTF::PassRefPtr<WebCore::ResourceLoadTiming>&); | 97 WebURLLoadTiming(const WTF::PassRefPtr<WebCore::ResourceLoadTiming>&); |
98 WebURLLoadTiming& operator=(const WTF::PassRefPtr<WebCore::ResourceLoadTimin
g>&); | 98 WebURLLoadTiming& operator=(const WTF::PassRefPtr<WebCore::ResourceLoadTimin
g>&); |
99 operator WTF::PassRefPtr<WebCore::ResourceLoadTiming>() const; | 99 operator WTF::PassRefPtr<WebCore::ResourceLoadTiming>() const; |
100 #endif | 100 #endif |
101 | 101 |
102 private: | 102 private: |
103 WebPrivatePtr<WebCore::ResourceLoadTiming> m_private; | 103 WebPrivatePtr<WebCore::ResourceLoadTiming> m_private; |
104 }; | 104 }; |
105 | 105 |
106 } // namespace WebKit | 106 } // namespace WebKit |
107 | 107 |
108 #endif | 108 #endif |
OLD | NEW |