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

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: updates 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 5284b246d0b8dbdeee54ecc3abda5c24b0d396d9..f66462f4ec7ab6a3250dc49cb1aaa3c590105428 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