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

Issue 15011006: Remove DownloadItem::GetUserVerifiedFilePath() (Closed)

Created:
7 years, 7 months ago by asanka
Modified:
7 years, 7 months ago
CC:
chromium-reviews, jam, benjhayden+dwatch_chromium.org, tfarina, kkania, sail+watch_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, robertshield, darin-cc_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Remove DownloadItem::GetUserVerifiedFilePath() This method returned the intermediate path (i.e. "Unconfirmed_nnn.crdownload") for a dangerous download and the target path for a safe download. It was being used for: - Associating the 'Always open files of this type' preference. Updated to use GetTargetFilePath() instead as using the intermediate path for this purpose is incorrect. - Fetching the icon for a download. Updated to use GetTargetFilePath() for this as well. On Windows some file types should be queried again for the icon after the download completes. This is handled by download_item_view.cc. BUG=134237 BUG=137702 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201599

Patch Set 1 #

Patch Set 2 : Merge with r201294 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -35 lines) Patch
M chrome/browser/automation/testing_automation_provider.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/download_shelf_context_menu.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/download/download_item_mac.mm View 2 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/ui/gtk/download/download_item_gtk.cc View 1 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/download/download_item_view.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M content/browser/download/download_item_impl.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/download/download_item_impl.cc View 1 2 chunks +1 line, -8 lines 0 comments Download
M content/browser/download/download_manager_impl_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/public/browser/download_item.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M content/public/test/mock_download_item.h View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
asanka
Ben: Can you take a look?
7 years, 7 months ago (2013-05-08 21:39:54 UTC) #1
benjhayden
LGTM Yay quick bugfixes! Those bugs say that we want to use GetFullPath for Show ...
7 years, 7 months ago (2013-05-09 15:00:01 UTC) #2
asanka
On 2013/05/09 15:00:01, benjhayden_chromium wrote: > LGTM > Yay quick bugfixes! Thanks! > Those bugs ...
7 years, 7 months ago (2013-05-09 18:55:53 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/15011006/1
7 years, 7 months ago (2013-05-09 18:56:23 UTC) #4
asanka
Adding OWNERS: phajdan.jr: chrome/browser/automation/ thakis: chrome/browser/ui/cocoa/download/ estade: chrome/browser/ui/gtk/download/ sky: chrome/browser/ui/views/download/ joi: content/public/
7 years, 7 months ago (2013-05-09 19:26:42 UTC) #5
Jói
LGTM for content/public.
7 years, 7 months ago (2013-05-09 20:26:59 UTC) #6
sky
LGTM
7 years, 7 months ago (2013-05-09 21:20:03 UTC) #7
Paweł Hajdan Jr.
automation LGTM
7 years, 7 months ago (2013-05-09 21:24:54 UTC) #8
Nico
cocoa lgtm stamp
7 years, 7 months ago (2013-05-09 21:31:26 UTC) #9
Evan Stade
gtk lgtm
7 years, 7 months ago (2013-05-13 20:53:11 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/15011006/16001
7 years, 7 months ago (2013-05-21 20:01:07 UTC) #11
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=42242
7 years, 7 months ago (2013-05-22 00:24:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/15011006/16001
7 years, 7 months ago (2013-05-22 15:55:50 UTC) #13
commit-bot: I haz the power
7 years, 7 months ago (2013-05-22 19:17:07 UTC) #14
Message was sent while issue was closed.
Change committed as 201599

Powered by Google App Engine
This is Rietveld 408576698