| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Intel Inc. All rights reserved. | 3 * Copyright (C) 2012 Intel Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 void unregisterPerformanceObserver(PerformanceObserver&); | 130 void unregisterPerformanceObserver(PerformanceObserver&); |
| 131 void registerPerformanceObserver(PerformanceObserver&); | 131 void registerPerformanceObserver(PerformanceObserver&); |
| 132 void updatePerformanceObserverFilterOptions(); | 132 void updatePerformanceObserverFilterOptions(); |
| 133 void activateObserver(PerformanceObserver&); | 133 void activateObserver(PerformanceObserver&); |
| 134 void resumeSuspendedObservers(); | 134 void resumeSuspendedObservers(); |
| 135 | 135 |
| 136 DECLARE_VIRTUAL_TRACE(); | 136 DECLARE_VIRTUAL_TRACE(); |
| 137 | 137 |
| 138 private: | 138 private: |
| 139 static PerformanceNavigationTiming::NavigationType getNavigationType( | 139 static PerformanceNavigationTiming::NavigationType getNavigationType( |
| 140 NavigationType, | 140 FrameLoadType, |
| 141 const Document*); | 141 const Document*); |
| 142 | 142 |
| 143 static bool allowsTimingRedirect(const Vector<ResourceResponse>&, | 143 static bool allowsTimingRedirect(const Vector<ResourceResponse>&, |
| 144 const ResourceResponse&, | 144 const ResourceResponse&, |
| 145 const SecurityOrigin&, | 145 const SecurityOrigin&, |
| 146 ExecutionContext*); | 146 ExecutionContext*); |
| 147 | 147 |
| 148 static bool passesTimingAllowCheck(const ResourceResponse&, | 148 static bool passesTimingAllowCheck(const ResourceResponse&, |
| 149 const SecurityOrigin&, | 149 const SecurityOrigin&, |
| 150 const AtomicString&, | 150 const AtomicString&, |
| (...skipping 27 matching lines...) Expand all Loading... |
| 178 PerformanceEntryTypeMask m_observerFilterOptions; | 178 PerformanceEntryTypeMask m_observerFilterOptions; |
| 179 PerformanceObservers m_observers; | 179 PerformanceObservers m_observers; |
| 180 PerformanceObservers m_activeObservers; | 180 PerformanceObservers m_activeObservers; |
| 181 PerformanceObservers m_suspendedObservers; | 181 PerformanceObservers m_suspendedObservers; |
| 182 TaskRunnerTimer<PerformanceBase> m_deliverObservationsTimer; | 182 TaskRunnerTimer<PerformanceBase> m_deliverObservationsTimer; |
| 183 }; | 183 }; |
| 184 | 184 |
| 185 } // namespace blink | 185 } // namespace blink |
| 186 | 186 |
| 187 #endif // PerformanceBase_h | 187 #endif // PerformanceBase_h |
| OLD | NEW |