| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DOM_AUTOMATION_CONTROLLER_H_ | 5 #ifndef CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ |
| 6 #define CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ | 6 #define CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "ipc/ipc_sender.h" | 8 #include "ipc/ipc_sender.h" |
| 9 #include "webkit/glue/cpp_bound_class.h" | 9 #include "webkit/glue/cpp_bound_class.h" |
| 10 | 10 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 | 117 |
| 118 // Retrieves a histogram and returns a JSON representation of it. | 118 // Retrieves a histogram and returns a JSON representation of it. |
| 119 void GetHistogram(const webkit_glue::CppArgumentList& args, | 119 void GetHistogram(const webkit_glue::CppArgumentList& args, |
| 120 webkit_glue::CppVariant* result); | 120 webkit_glue::CppVariant* result); |
| 121 | 121 |
| 122 // Retrieves a histogram from the browser process and returns a JSON | 122 // Retrieves a histogram from the browser process and returns a JSON |
| 123 // representation of it. | 123 // representation of it. |
| 124 void GetBrowserHistogram(const webkit_glue::CppArgumentList& args, | 124 void GetBrowserHistogram(const webkit_glue::CppArgumentList& args, |
| 125 webkit_glue::CppVariant* result); | 125 webkit_glue::CppVariant* result); |
| 126 | 126 |
| 127 // Returns JSON represenation of collected tab timing information. |
| 128 void GetTabLoadTimingInformation(const webkit_glue::CppArgumentList& args, |
| 129 webkit_glue::CppVariant* result); |
| 127 private: | 130 private: |
| 128 IPC::Sender* sender_; | 131 IPC::Sender* sender_; |
| 129 | 132 |
| 130 // Refer to the comments at the top of the file for more details. | 133 // Refer to the comments at the top of the file for more details. |
| 131 int routing_id_; // routing id to be used by first channel. | 134 int routing_id_; // routing id to be used by first channel. |
| 132 int automation_id_; // routing id to be used by the next channel. | 135 int automation_id_; // routing id to be used by the next channel. |
| 133 }; | 136 }; |
| 134 | 137 |
| 135 } // namespace content | 138 } // namespace content |
| 136 | 139 |
| 137 #endif // CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ | 140 #endif // CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ |
| OLD | NEW |