diff options
Diffstat (limited to 'chrome/test/automation/tab_proxy.cc')
-rw-r--r-- | chrome/test/automation/tab_proxy.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/test/automation/tab_proxy.cc b/chrome/test/automation/tab_proxy.cc index a662f60..0c2c27f 100644 --- a/chrome/test/automation/tab_proxy.cc +++ b/chrome/test/automation/tab_proxy.cc @@ -474,6 +474,13 @@ bool TabProxy::SetCookie(const GURL& url, const std::string& value) { &response_value)); } +bool TabProxy::DeleteCookie(const GURL& url, const std::string& name) { + bool succeeded; + sender_->Send(new AutomationMsg_DeleteCookie(0, url, name, handle_, + &succeeded)); + return succeeded; +} + int TabProxy::InspectElement(int x, int y) { if (!is_valid()) return -1; |