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 19 matching lines...) Expand all Loading... |
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 { | 37 namespace blink { |
38 | 38 |
39 class ResourceLoadTiming; | 39 class ResourceLoadTiming; |
40 class WebString; | |
41 | 40 |
42 class WebURLLoadTiming { | 41 class WebURLLoadTiming { |
43 public: | 42 public: |
44 ~WebURLLoadTiming() { reset(); } | 43 ~WebURLLoadTiming() { reset(); } |
45 | 44 |
46 WebURLLoadTiming() { } | 45 WebURLLoadTiming() { } |
47 WebURLLoadTiming(const WebURLLoadTiming& d) { assign(d); } | 46 WebURLLoadTiming(const WebURLLoadTiming& d) { assign(d); } |
48 WebURLLoadTiming& operator=(const WebURLLoadTiming& d) | 47 WebURLLoadTiming& operator=(const WebURLLoadTiming& d) |
49 { | 48 { |
50 assign(d); | 49 assign(d); |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<ResourceLoadTiming>() const; | 107 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<ResourceLoadTiming>() const; |
109 #endif | 108 #endif |
110 | 109 |
111 private: | 110 private: |
112 WebPrivatePtr<ResourceLoadTiming> m_private; | 111 WebPrivatePtr<ResourceLoadTiming> m_private; |
113 }; | 112 }; |
114 | 113 |
115 } // namespace blink | 114 } // namespace blink |
116 | 115 |
117 #endif | 116 #endif |
OLD | NEW |