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

Unified Diff: chrome/test/pyautolib/pyautolib.h

Issue 10804038: Convert cookie and download automation commands to the JSON interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/pyautolib/pyautolib.h
diff --git a/chrome/test/pyautolib/pyautolib.h b/chrome/test/pyautolib/pyautolib.h
index 3de0596b0f57e35d75b8d11f5068a1e3fcae91f8..30850f69bf85ee635f405270aa91e60e0e467bdf 100644
--- a/chrome/test/pyautolib/pyautolib.h
+++ b/chrome/test/pyautolib/pyautolib.h
@@ -78,21 +78,12 @@ class PyUITestBase : public UITestBase {
// browser window. Also brings the window to front.
bool ActivateTab(int tab_index, int window_index = 0);
- // Shows or hides the download shelf.
- void SetDownloadShelfVisible(bool is_visible, int window_index = 0);
-
- // Determines the visibility of the download shelf
- bool IsDownloadShelfVisible(int window_index = 0);
-
// Open the Find box
void OpenFindInPage(int window_index = 0);
// Determines the visibility of the Find box
bool IsFindInPageVisible(int window_index = 0);
- // Get the path to the downloads directory
- FilePath GetDownloadDirectory();
-
// AutomationProxy methods
// Open a new browser window. Returns false on failure.
@@ -160,13 +151,6 @@ class PyUITestBase : public UITestBase {
// Resets to the default theme. Returns true on success.
bool ResetToDefaultTheme();
- // Sets a cookie value for a url. Returns true on success.
- bool SetCookie(const GURL& cookie_url, const std::string& value,
- int window_index = 0, int tab_index = 0);
- // Gets a cookie value for the given url.
- std::string GetCookie(const GURL& cookie_url, int window_index = 0,
- int tab_index = 0);
-
int action_max_timeout_ms() const {
return TestTimeouts::action_max_timeout_ms();
}

Powered by Google App Engine
This is Rietveld 408576698