diff options
Diffstat (limited to 'chrome/test/automation')
-rw-r--r-- | chrome/test/automation/automation_json_requests.h | 9 | ||||
-rw-r--r-- | chrome/test/automation/tab_proxy.h | 7 |
2 files changed, 11 insertions, 5 deletions
diff --git a/chrome/test/automation/automation_json_requests.h b/chrome/test/automation/automation_json_requests.h index be7a5bb..a095a92 100644 --- a/chrome/test/automation/automation_json_requests.h +++ b/chrome/test/automation/automation_json_requests.h @@ -17,9 +17,12 @@ class AutomationMessageSender; class FilePath; class GURL; + +namespace base { class DictionaryValue; class ListValue; class Value; +} struct WebKeyEvent { WebKeyEvent(automation::KeyEventTypes type, @@ -91,7 +94,7 @@ bool SendExecuteJavascriptJSONRequest( int tab_index, const std::string& frame_xpath, const std::string& javascript, - Value** result, + base::Value** result, std::string* error_msg) WARN_UNUSED_RESULT; // Requests the specified tab to go forward. Waits for the load to complete. @@ -150,7 +153,7 @@ bool SendGetTabTitleJSONRequest( bool SendGetCookiesJSONRequest( AutomationMessageSender* sender, const std::string& url, - ListValue** cookies, + base::ListValue** cookies, std::string* error_msg) WARN_UNUSED_RESULT; // Requests all the cookies for the given URL. Returns true on success. @@ -185,7 +188,7 @@ bool SendDeleteCookieJSONRequestDeprecated( bool SendSetCookieJSONRequest( AutomationMessageSender* sender, const std::string& url, - DictionaryValue* cookie_dict, + base::DictionaryValue* cookie_dict, std::string* error_msg) WARN_UNUSED_RESULT; // Requests setting the given cookie for the given URL. Returns true on diff --git a/chrome/test/automation/tab_proxy.h b/chrome/test/automation/tab_proxy.h index d2c7e87..f4b89d5 100644 --- a/chrome/test/automation/tab_proxy.h +++ b/chrome/test/automation/tab_proxy.h @@ -29,11 +29,14 @@ class BrowserProxy; class GURL; -class Value; namespace IPC { class Message; } +namespace base { +class Value; +} + class TabProxy : public AutomationResourceProxy, public JavaScriptExecutionController { public: @@ -87,7 +90,7 @@ class TabProxy : public AutomationResourceProxy, int* value) WARN_UNUSED_RESULT; bool ExecuteAndExtractValue(const std::wstring& frame_xpath, const std::wstring& jscript, - Value** value) WARN_UNUSED_RESULT; + base::Value** value) WARN_UNUSED_RESULT; // Returns a DOMElementProxyRef to the tab's current DOM document. // This proxy is invalidated when the document changes. |