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

Unified Diff: chrome/test/pyautolib/pyauto.py

Issue 11711003: Remove the DownloadItem::TogglePause() interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'd to r175145. Created 7 years, 12 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/functional/downloads.py ('k') | content/browser/download/download_item_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/pyautolib/pyauto.py
diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py
index a41089a8359f2efc75c229dd59d489e49c7161ac..7a60d70bf96edeaa45fe2ba6fdc5ee7a226f2d2f 100755
--- a/chrome/test/pyautolib/pyauto.py
+++ b/chrome/test/pyautolib/pyauto.py
@@ -2371,8 +2371,10 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
after downloading a dangerous download (ex. an executable).
'save_dangerous_download': Equivalent to 'Save' option after
downloading a dangerous file.
- 'toggle_pause': Toggles the paused state of the download. If the
- download completed before this call, it's a no-op.
+ 'pause': Pause the download. If the download completed before
+ this call or is already paused, it's a no-op.
+ 'resume': Resume the download. If the download completed before
+ this call or was not paused, it's a no-op.
'cancel': Cancel the download.
window_index: The window index, default is 0.
« no previous file with comments | « chrome/test/functional/downloads.py ('k') | content/browser/download/download_item_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698