|
Modified cancel and interrupt processing to avoid race with history.
Avoid racing with the history callback by unilaterally removing
DownloadItem from queues on cancel/interrupt. This keeps the
state<->queue correspondence cleaner, and avoids leaving things on
queues during shutdown. It might also fix 85408; we'll see :-}.
BUG= 85408
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92870
Total comments: 50
Total comments: 24
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+776 lines, -299 lines) |
Patch |
 |
M |
chrome/browser/automation/automation_provider_observers.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/automation/testing_automation_provider.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
|
20 chunks |
+521 lines, -143 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_file_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_history.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_history.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_item.h
|
View
|
1
2
3
4
5
|
3 chunks |
+15 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_item.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+57 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_item_model.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_manager.h
|
View
|
1
2
3
4
5
|
5 chunks |
+31 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
13 chunks |
+68 lines, -72 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_manager_unittest.cc
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_request_handle.h
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_util.h
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/download/download_item_controller.mm
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/gtk/download/download_item_gtk.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/download/download_item_view.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/active_downloads_ui.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/downloads_dom_handler.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
chrome/test/data/download-dangerous.jar
|
View
|
|
Binary file |
0 comments
|
Download
|
 |
A |
chrome/test/data/download-dangerous.jar.mock-http-headers
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/download/save_package.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/net/url_request_slow_download_job.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/net/url_request_slow_download_job.cc
|
View
|
1
2
3
4
|
8 chunks |
+36 lines, -15 lines |
0 comments
|
Download
|
Total messages: 25 (0 generated)
|