| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "platform/network/ResourceLoadTiming.h" | 5 #include "platform/network/ResourceLoadTiming.h" |
| 6 | 6 |
| 7 #include "platform/TraceEvent.h" | 7 #include "platform/TraceEvent.h" |
| 8 | 8 |
| 9 namespace blink { | 9 namespace blink { |
| 10 | 10 |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 void ResourceLoadTiming::setSslEnd(double sslEnd) | 143 void ResourceLoadTiming::setSslEnd(double sslEnd) |
| 144 { | 144 { |
| 145 m_sslEnd = sslEnd; | 145 m_sslEnd = sslEnd; |
| 146 } | 146 } |
| 147 | 147 |
| 148 double ResourceLoadTiming::calculateMillisecondDelta(double time) const | 148 double ResourceLoadTiming::calculateMillisecondDelta(double time) const |
| 149 { | 149 { |
| 150 return time ? (time - m_requestTime) * 1000 : -1; | 150 return time ? (time - m_requestTime) * 1000 : -1; |
| 151 } | 151 } |
| 152 | 152 |
| 153 } // namespace | 153 } // namespace blink |
| OLD | NEW |