|
|
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
|
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
|
Total messages: 14 (0 generated)
|