| Index: chrome/test/pyautolib/pyautolib.i
|
| diff --git a/chrome/test/pyautolib/pyautolib.i b/chrome/test/pyautolib/pyautolib.i
|
| index 889f989581afcf77c5a7fb01ba3b54caf94002a2..a1c4d64568f3819f457b1fe9b951d89dfc96a667 100644
|
| --- a/chrome/test/pyautolib/pyautolib.i
|
| +++ b/chrome/test/pyautolib/pyautolib.i
|
| @@ -313,6 +313,19 @@ class PyUITestBase {
|
| "Returns True on success.") AppendTab;
|
| bool AppendTab(const GURL& tab_url, int window_index=0);
|
|
|
| + %feature("docstring", "Set the value of the cookie at cookie_url to value "
|
| + "for the given window index and tab index. "
|
| + "Returns True on success.") SetCookie;
|
| + bool SetCookie(const GURL& cookie_url, const std::string& value,
|
| + int window_index=0, int tab_index=0);
|
| +
|
| + %feature("docstring", "Get the value of the cokie at cookie_url for the "
|
| + "given window index and tab index. "
|
| + "Returns empty string on error or if there is no value for the "
|
| + "cookie.") GetCookieVal;
|
| + std::string GetCookie(const GURL& cookie_url, int window_index=0,
|
| + int tab_index=0);
|
| +
|
| // Misc methods
|
| %feature("docstring", "Determine if the browser is running. "
|
| "Returns False if user closed the window or if the browser died")
|
|
|