OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_RENDERER_STATS_COLLECTION_CONTROLLER_H_ | 5 #ifndef CONTENT_RENDERER_STATS_COLLECTION_CONTROLLER_H_ |
6 #define CONTENT_RENDERER_STATS_COLLECTION_CONTROLLER_H_ | 6 #define CONTENT_RENDERER_STATS_COLLECTION_CONTROLLER_H_ |
7 | 7 |
8 #include "ipc/ipc_sender.h" | 8 #include "ipc/ipc_sender.h" |
9 #include "webkit/renderer/cpp_bound_class.h" | 9 #include "webkit/renderer/cpp_bound_class.h" |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... | |
24 | 24 |
25 // Retrieves a histogram and returns a JSON representation of it. | 25 // Retrieves a histogram and returns a JSON representation of it. |
26 void GetHistogram(const webkit_glue::CppArgumentList& args, | 26 void GetHistogram(const webkit_glue::CppArgumentList& args, |
27 webkit_glue::CppVariant* result); | 27 webkit_glue::CppVariant* result); |
28 | 28 |
29 // Retrieves a histogram from the browser process and returns a JSON | 29 // Retrieves a histogram from the browser process and returns a JSON |
30 // representation of it. | 30 // representation of it. |
31 void GetBrowserHistogram(const webkit_glue::CppArgumentList& args, | 31 void GetBrowserHistogram(const webkit_glue::CppArgumentList& args, |
32 webkit_glue::CppVariant* result); | 32 webkit_glue::CppVariant* result); |
33 | 33 |
34 // Retrieves the stats table counters for the current renderer and returns a | |
35 // JSON representation of it. | |
36 void GetStatsTable(const webkit_glue::CppArgumentList& args, | |
tonyg
2013/08/23 16:31:32
I don't think this is necessary. --enable-benchmar
rmcilroy
2013/08/27 12:06:41
Thanks for the hint - moved to using --enable-benc
| |
37 webkit_glue::CppVariant* result); | |
38 | |
34 // Returns JSON representation of tab timing information for the current tab. | 39 // Returns JSON representation of tab timing information for the current tab. |
35 void GetTabLoadTiming(const webkit_glue::CppArgumentList& args, | 40 void GetTabLoadTiming(const webkit_glue::CppArgumentList& args, |
36 webkit_glue::CppVariant* result); | 41 webkit_glue::CppVariant* result); |
37 private: | 42 private: |
38 IPC::Sender* sender_; | 43 IPC::Sender* sender_; |
39 }; | 44 }; |
40 | 45 |
41 } // namespace content | 46 } // namespace content |
42 | 47 |
43 #endif // CONTENT_RENDERER_STATS_COLLECTION_CONTROLLER_H_ | 48 #endif // CONTENT_RENDERER_STATS_COLLECTION_CONTROLLER_H_ |
OLD | NEW |