| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 double WebPerformance::navigationStart() const | 68 double WebPerformance::navigationStart() const |
| 69 { | 69 { |
| 70 return millisecondsToSeconds(m_private->timing()->navigationStart()); | 70 return millisecondsToSeconds(m_private->timing()->navigationStart()); |
| 71 } | 71 } |
| 72 | 72 |
| 73 double WebPerformance::unloadEventEnd() const | 73 double WebPerformance::unloadEventEnd() const |
| 74 { | 74 { |
| 75 return millisecondsToSeconds(m_private->timing()->unloadEventEnd()); | 75 return millisecondsToSeconds(m_private->timing()->unloadEventEnd()); |
| 76 } | 76 } |
| 77 | 77 |
| 78 double WebPerformance::workerStart() const |
| 79 { |
| 80 return millisecondsToSeconds(m_private->timing()->workerStart()); |
| 81 } |
| 82 |
| 78 double WebPerformance::redirectStart() const | 83 double WebPerformance::redirectStart() const |
| 79 { | 84 { |
| 80 return millisecondsToSeconds(m_private->timing()->redirectStart()); | 85 return millisecondsToSeconds(m_private->timing()->redirectStart()); |
| 81 } | 86 } |
| 82 | 87 |
| 83 double WebPerformance::redirectEnd() const | 88 double WebPerformance::redirectEnd() const |
| 84 { | 89 { |
| 85 return millisecondsToSeconds(m_private->timing()->redirectEnd()); | 90 return millisecondsToSeconds(m_private->timing()->redirectEnd()); |
| 86 } | 91 } |
| 87 | 92 |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 { | 220 { |
| 216 } | 221 } |
| 217 | 222 |
| 218 WebPerformance& WebPerformance::operator=(Performance*performance) | 223 WebPerformance& WebPerformance::operator=(Performance*performance) |
| 219 { | 224 { |
| 220 m_private = performance; | 225 m_private = performance; |
| 221 return *this; | 226 return *this; |
| 222 } | 227 } |
| 223 | 228 |
| 224 } // namespace blink | 229 } // namespace blink |
| OLD | NEW |