Remove the DownloadItem::TogglePause() interface.
Replace it with explict Pause() and Resume() interfaces.
R=asanka@chromium.org
R=benjhayden@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11711003
git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/test/pyautolib@175357 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
diff --git a/pyauto.py b/pyauto.py
index a41089a..7a60d70 100755
--- a/pyauto.py
+++ b/pyauto.py
@@ -2371,8 +2371,10 @@
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.