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

Unified Diff: chrome/test/webdriver/session.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/session.h
diff --git a/chrome/test/webdriver/session.h b/chrome/test/webdriver/session.h
index e716e198eb04f40f338f13bbcd1a3712b58b41ae..f6196d27621d1e97dd79f4816c13b6d804213605 100644
--- a/chrome/test/webdriver/session.h
+++ b/chrome/test/webdriver/session.h
@@ -47,8 +47,14 @@ class Session {
bool GoForward();
bool GoBack();
bool Reload();
+ bool GetURL(GURL* url);
bool GetURL(std::string* url);
bool GetTabTitle(std::string* tab_title);
+ bool GetCookies(const GURL& url, std::string* cookies);
+ bool GetCookieByName(const GURL& url, const std::string& cookie_name,
+ std::string* cookie);
+ bool DeleteCookie(const GURL& url, const std::string& cookie_name);
+ bool SetCookie(const GURL& url, const std::string& cookie);
inline const std::string& id() const { return id_; }

Powered by Google App Engine
This is Rietveld 408576698