OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_RENDERER_PAGE_LOAD_METRICS_PAGE_TIMING_SENDER_H_ | |
6 #define CHROME_RENDERER_PAGE_LOAD_METRICS_PAGE_TIMING_SENDER_H_ | |
7 | |
8 #include "chrome/common/page_load_metrics/page_load_timing.h" | |
9 | |
10 namespace page_load_metrics { | |
11 | |
12 // PageTimingSender is an interface that is responsible for sending page load | |
13 // timing. SendTiming() should be implemented to send page load timing over | |
14 // mojo IPC. | |
15 class PageTimingSender { | |
Bryan McQuade
2017/04/26 16:04:34
i like this abstraction, but let's do this slightl
lpy
2017/04/27 10:58:35
I assume the owner of PageTimingSender should be M
Bryan McQuade
2017/04/27 15:42:32
I'll have to look at the code more to understand w
| |
16 public: | |
17 virtual void SendTiming(const PageLoadTiming& timing, | |
18 const PageLoadMetadata& metadata) = 0; | |
19 }; | |
20 | |
21 } // namespace page_load_metrics | |
22 | |
23 #endif // CHROME_RENDERER_PAGE_LOAD_METRICS_PAGE_TIMING_SENDER_H_ | |
OLD | NEW |