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

Issue 11711003: Remove the DownloadItem::TogglePause() interface. (Closed)

Created:
7 years, 12 months ago by Randy Smith (Not in Mondays)
Modified:
7 years, 11 months ago
CC:
chromium-reviews, asanka, dyu1, benjhayden+dwatch_chromium.org, jam, kkania, joi+watch-content_chromium.org, Aaron Boodman, arv (Not doing code reviews), robertshield, rdsmith+dwatch_chromium.org, darin-cc_chromium.org, dennis_jeffrey, chromium-apps-reviews_chromium.org, anantha
Visibility:
Public.

Description

Remove the DownloadItem::TogglePause() interface. Replace it with explict Pause() and Resume() interfaces. R=asanka@chromium.org R=benjhayden@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175357

Patch Set 1 #

Total comments: 6

Patch Set 2 : Sync'd to r174772 #

Patch Set 3 : Incorporated comments. #

Patch Set 4 : Sync'd to r175145. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -44 lines) Patch
M chrome/browser/automation/testing_automation_provider.cc View 1 2 2 chunks +33 lines, -6 lines 0 comments Download
M chrome/browser/download/download_shelf_context_menu.cc View 1 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api.cc View 1 2 2 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/resources/downloads/downloads.js View 2 chunks +14 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/downloads_dom_handler.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/downloads_dom_handler.cc View 1 2 3 chunks +11 lines, -3 lines 0 comments Download
M chrome/test/functional/downloads.py View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/test/pyautolib/pyauto.py View 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/download/download_item_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/download/download_item_impl.cc View 1 1 chunk +17 lines, -10 lines 0 comments Download
M content/browser/download/download_item_impl_unittest.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/download/download_manager_impl_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/public/browser/download_item.h View 1 chunk +7 lines, -2 lines 0 comments Download
M content/public/test/mock_download_item.h View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Randy Smith (Not in Mondays)
Ben, Asanka: PTAL? Asanka: Whole CL. Ben: Could you take a look at the extensions ...
7 years, 12 months ago (2012-12-28 23:28:50 UTC) #1
benjhayden
https://codereview.chromium.org/11711003/diff/1/chrome/browser/ui/webui/downloads_dom_handler.cc File chrome/browser/ui/webui/downloads_dom_handler.cc (right): https://codereview.chromium.org/11711003/diff/1/chrome/browser/ui/webui/downloads_dom_handler.cc#newcode258 chrome/browser/ui/webui/downloads_dom_handler.cc:258: base::Bind(&DownloadsDOMHandler::Pause, Why remove the "Handle" prefix?
7 years, 11 months ago (2013-01-02 16:19:50 UTC) #2
asanka
LGTM modulo nits and Ben's comments. https://codereview.chromium.org/11711003/diff/1/chrome/browser/automation/testing_automation_provider.cc File chrome/browser/automation/testing_automation_provider.cc (right): https://codereview.chromium.org/11711003/diff/1/chrome/browser/automation/testing_automation_provider.cc#newcode2700 chrome/browser/automation/testing_automation_provider.cc:2700: // This will ...
7 years, 11 months ago (2013-01-02 16:44:50 UTC) #3
Randy Smith (Not in Mondays)
Incorporated comments. PTAL. Do either of you feel comfortable enough with the automation interface to ...
7 years, 11 months ago (2013-01-02 20:16:01 UTC) #4
benjhayden
LGTM The automation interface looks good to me, assuming you ran the pyauto tests.
7 years, 11 months ago (2013-01-03 16:37:29 UTC) #5
Randy Smith (Not in Mondays)
Looking for stamps: phadjan.jr@: chrome/browser/automation, chrome/test*, content/public/test/* estade@: chrome/browser/ui/webui/*, chrome/browser/resources/*
7 years, 11 months ago (2013-01-04 21:35:09 UTC) #6
Paweł Hajdan Jr.
Is pyauto coverage redundant (i.e. do we have other tests that cover the same scenario)? ...
7 years, 11 months ago (2013-01-04 22:47:54 UTC) #7
Randy Smith (Not in Mondays)
On 2013/01/04 22:47:54, Paweł Hajdan Jr. wrote: > Is pyauto coverage redundant (i.e. do we ...
7 years, 11 months ago (2013-01-04 22:58:17 UTC) #8
Paweł Hajdan Jr.
Alright, LGTM. Thanks for checking!
7 years, 11 months ago (2013-01-04 23:07:53 UTC) #9
Evan Stade
lgtm
7 years, 11 months ago (2013-01-05 02:14:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdsmith@chromium.org/11711003/22001
7 years, 11 months ago (2013-01-07 16:35:58 UTC) #11
commit-bot: I haz the power
7 years, 11 months ago (2013-01-07 18:03:21 UTC) #12
Message was sent while issue was closed.
Change committed as 175357

Powered by Google App Engine
This is Rietveld 408576698