|
Split FaviconHelper in two: ImageLoadingHelper and FaviconHelper.
This is the first step of fixing http://crbug.com/196769.
The problem is that there are two types of users of Content::DownloadFavicon() - the favicon consumers and regular icons and images consumers. Recently, the otherwise-generic image download+decoding implementation regressed because it was assumed to be only used for favicon loading.
The proposed fix is to add a parameter to the method (enum, FAVICON/IMAGE) and rename it from DownloadFavicon to DownloadImage, to make sure the name corresponds to the impl/usage.
This is rename-only part, no additional parameter yet. The FaviconHelper class was split in 2, with new ImageLoadingHelper dealing with images.
BUG= 196769
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191304
Total comments: 8
Total comments: 14
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+218 lines, -645 lines) |
Patch |
 |
M |
android_webview/browser/icon_helper.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/favicon/favicon_handler.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/favicon/favicon_tab_helper.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/notifications/message_center_notification_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/launcher_favicon_loader.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/extensions/shell_window.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/metro_pin_tab_helper_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/ash/balloon_view_ash.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/create_application_shortcut_view.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/web_applications/web_app_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
6 chunks |
+19 lines, -19 lines |
0 comments
|
Download
|
 |
M |
content/common/content_message_generator.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
content/common/icon_messages.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -46 lines |
0 comments
|
Download
|
 |
A + |
content/common/image_messages.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+9 lines, -22 lines |
0 comments
|
Download
|
 |
M |
content/common/view_messages.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_common.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/content_renderer.gypi
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/web_contents.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
D |
content/renderer/favicon_helper.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -106 lines |
0 comments
|
Download
|
 |
D |
content/renderer/favicon_helper.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -220 lines |
0 comments
|
Download
|
 |
A + |
content/renderer/image_loading_helper.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+28 lines, -57 lines |
0 comments
|
Download
|
 |
A + |
content/renderer/image_loading_helper.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
6 chunks |
+36 lines, -129 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
9 chunks |
+68 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_message_start.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 22 (0 generated)
|