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

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: minor fixes 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
« no previous file with comments | « chrome/test/webdriver/server.cc ('k') | chrome/test/webdriver/session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/session.h
diff --git a/chrome/test/webdriver/session.h b/chrome/test/webdriver/session.h
index abd8021d60f38410be62a5213c30aeaa28d68065..52ead37b30ad1ba737c996a7f109933653694093 100644
--- a/chrome/test/webdriver/session.h
+++ b/chrome/test/webdriver/session.h
@@ -9,10 +9,10 @@
#include "base/scoped_ptr.h"
#include "base/string16.h"
-#include "base/values.h"
#include "chrome/test/webdriver/automation.h"
#include "chrome/test/webdriver/error_codes.h"
+class GURL;
class ListValue;
class Value;
@@ -56,8 +56,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_; }
« no previous file with comments | « chrome/test/webdriver/server.cc ('k') | chrome/test/webdriver/session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698