| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #ifndef PlatformProbes_h | 5 #ifndef PlatformProbes_h |
| 6 #define PlatformProbes_h | 6 #define PlatformProbes_h |
| 7 | 7 |
| 8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
| 9 #include "platform/loader/fetch/FetchContext.h" | 9 #include "platform/loader/fetch/FetchContext.h" |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 mutable double m_endTime = 0; | 28 mutable double m_endTime = 0; |
| 29 }; | 29 }; |
| 30 | 30 |
| 31 inline PlatformProbeSink* toPlatformProbeSink(FetchContext* context) { | 31 inline PlatformProbeSink* toPlatformProbeSink(FetchContext* context) { |
| 32 return context->platformProbeSink(); | 32 return context->platformProbeSink(); |
| 33 } | 33 } |
| 34 | 34 |
| 35 } // namespace probe | 35 } // namespace probe |
| 36 } // namespace blink | 36 } // namespace blink |
| 37 | 37 |
| 38 #undef PROBE_EXPORT | |
| 39 | |
| 40 #include "platform/PlatformProbesInl.h" | 38 #include "platform/PlatformProbesInl.h" |
| 41 | 39 |
| 42 #endif // PlatformProbes_h | 40 #endif // PlatformProbes_h |
| OLD | NEW |