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

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

Issue 6705004: Return the full cookie details in TestingAutomationProvider and pass around (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 9 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 1fedda6a342ac5f442e06c28a74e1d74be3cf7fb..fbe6b9e9abeffcdfb69341d1b60ec4b572b1886d 100644
--- a/chrome/test/webdriver/automation.h
+++ b/chrome/test/webdriver/automation.h
@@ -19,6 +19,7 @@ class AutomationProxy;
class DictionaryValue;
class FilePath;
class GURL;
+class ListValue;
class ProxyLauncher;
struct WebKeyEvent;
@@ -66,14 +67,22 @@ class Automation {
void GetURL(int tab_id, std::string* url, bool* success);
void GetGURL(int tab_id, GURL* gurl, bool* success);
void GetTabTitle(int tab_id, std::string* tab_title, bool* success);
- void GetCookies(
+
+ void GetCookies(const std::string& url, ListValue** cookies, bool* success);
+ void GetCookiesDeprecated(
int tab_id, const GURL& gurl, std::string* cookies, bool* success);
- void DeleteCookie(int tab_id,
- const GURL& gurl,
+ void DeleteCookie(const std::string& url,
const std::string& cookie_name,
bool* success);
+ void DeleteCookieDeprecated(int tab_id,
+ const GURL& gurl,
+ const std::string& cookie_name,
+ bool* success);
void SetCookie(
+ const std::string& url, DictionaryValue* cookie_dict, bool* success);
+ void SetCookieDeprecated(
int tab_id, const GURL& gurl, const std::string& cookie, bool* success);
+
void MouseMove(int tab_id, const gfx::Point& p, bool* success);
void MouseClick(int tab_id,
const gfx::Point& p,

Powered by Google App Engine
This is Rietveld 408576698