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

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
« no previous file with comments | « chrome/test/webdriver/WEBDRIVER_TESTS ('k') | chrome/test/webdriver/automation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/automation.h
diff --git a/chrome/test/webdriver/automation.h b/chrome/test/webdriver/automation.h
index 1fedda6a342ac5f442e06c28a74e1d74be3cf7fb..10cf0ac633e108f9a7cee62b53fa16f8af052ae4 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,
@@ -94,7 +103,7 @@ class Automation {
void CloseTab(int tab_id, bool* success);
// Gets the version of the runing browser.
- void GetVersion(std::string* version);
+ void GetBrowserVersion(std::string* version);
// Waits for all tabs to stop loading.
void WaitForAllTabsToStopLoading(bool* success);
« no previous file with comments | « chrome/test/webdriver/WEBDRIVER_TESTS ('k') | chrome/test/webdriver/automation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698