| 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 WebPerformance_h | 31 #ifndef WebPerformance_h |
| 32 #define WebPerformance_h | 32 #define WebPerformance_h |
| 33 | 33 |
| 34 #include "../platform/WebCommon.h" | 34 #include "../platform/WebCommon.h" |
| 35 #include "../platform/WebPrivatePtr.h" | 35 #include "../platform/WebPrivatePtr.h" |
| 36 #include "WebNavigationType.h" | 36 #include "WebNavigationType.h" |
| 37 | 37 |
| 38 namespace WebCore { class Performance; } | 38 namespace WebCore { class Performance; } |
| 39 | 39 |
| 40 namespace WebKit { | 40 namespace blink { |
| 41 | 41 |
| 42 class WebPerformance { | 42 class WebPerformance { |
| 43 public: | 43 public: |
| 44 ~WebPerformance() { reset(); } | 44 ~WebPerformance() { reset(); } |
| 45 | 45 |
| 46 WebPerformance() { } | 46 WebPerformance() { } |
| 47 | 47 |
| 48 WebPerformance(const WebPerformance& p) { assign(p); } | 48 WebPerformance(const WebPerformance& p) { assign(p); } |
| 49 | 49 |
| 50 WebPerformance& operator=(const WebPerformance& p) | 50 WebPerformance& operator=(const WebPerformance& p) |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 #if BLINK_IMPLEMENTATION | 84 #if BLINK_IMPLEMENTATION |
| 85 WebPerformance(const WTF::PassRefPtr<WebCore::Performance>&); | 85 WebPerformance(const WTF::PassRefPtr<WebCore::Performance>&); |
| 86 WebPerformance& operator=(const WTF::PassRefPtr<WebCore::Performance>&); | 86 WebPerformance& operator=(const WTF::PassRefPtr<WebCore::Performance>&); |
| 87 operator WTF::PassRefPtr<WebCore::Performance>() const; | 87 operator WTF::PassRefPtr<WebCore::Performance>() const; |
| 88 #endif | 88 #endif |
| 89 | 89 |
| 90 private: | 90 private: |
| 91 WebPrivatePtr<WebCore::Performance> m_private; | 91 WebPrivatePtr<WebCore::Performance> m_private; |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 } // namespace WebKit | 94 } // namespace blink |
| 95 | 95 |
| 96 #endif | 96 #endif |
| OLD | NEW |