Index: chrome/test/chromedriver/chrome/web_view.h |
diff --git a/chrome/test/chromedriver/chrome/web_view.h b/chrome/test/chromedriver/chrome/web_view.h |
index 2da07697b57b7b13aac3797c14299c1f82e73fc5..4b3fd5370c5767db43d7881d882eaf88b3b3d3d1 100644 |
--- a/chrome/test/chromedriver/chrome/web_view.h |
+++ b/chrome/test/chromedriver/chrome/web_view.h |
@@ -50,6 +50,16 @@ class WebView { |
// Load a given URL in the main frame. |
virtual Status Load(const std::string& url, const Timeout* timeout) = 0; |
+ // Send a command to the DevTools debugger |
+ virtual Status SendCommand(const std::string& cmd, |
+ const base::DictionaryValue& params) = 0; |
+ |
+ // Send a command to the DevTools debugger and wait for the result |
+ virtual Status SendCommandAndGetResult( |
+ const std::string& cmd, |
+ const base::DictionaryValue& params, |
+ std::unique_ptr<base::Value>* value) = 0; |
+ |
// Reload the current page. |
virtual Status Reload(const Timeout* timeout) = 0; |