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

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: dsdsdsdjsdsj 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 8bc5cd54fb6ea3bb008061a96e96ed0403119b94..9ed7d64e093ed886aa60ea7087126f3d93ff4194 100644
--- a/chrome/test/webdriver/session.h
+++ b/chrome/test/webdriver/session.h
@@ -51,8 +51,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