Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: chrome/test/webdriver/automation.h

Issue 6330012: Cookie commands for the webdriver protocol (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: kdsodkoskdoskdokosdksdkso Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/webdriver/automation.h
diff --git a/chrome/test/webdriver/automation.h b/chrome/test/webdriver/automation.h
index 4bf8758c69d88b9a2c1cade6e6122d7b4079e9eb..f8998a999138a5e9d5d1f71dc79a9d393972f590 100644
--- a/chrome/test/webdriver/automation.h
+++ b/chrome/test/webdriver/automation.h
@@ -43,7 +43,14 @@ class Automation : private UITestBase {
void GoBack(bool* success);
void Reload(bool* success);
void GetURL(std::string* url, bool* success);
+ void GetGURL(GURL* gurl, bool* success);
void GetTabTitle(std::string* tab_title, bool* success);
+ void GetCookies(const GURL& gurl, std::string* cookies, bool* success);
+ void GetCookieByName(const GURL& gurl, const std::string& cookie_name,
+ std::string* cookie, bool* success);
+ void DeleteCookie(const GURL& gurl, const std::string& cookie_name,
+ bool* success);
+ void SetCookie(const GURL& gurl, const std::string& cookie, bool* success);
private:
scoped_refptr<BrowserProxy> browser_;

Powered by Google App Engine
This is Rietveld 408576698