|
Rip out browser-side RID caching for most visited items.
(1) Most visited thumbnails and favicons no longer require id-based urls. Updated ThumbnailSource and FaviconSource to serve requests of the form:
chrome-search://favicon/<most_visited_item_favicon_url>
chrome-search://thumb/<most_visited_item_thumbnail_url>
(2) Removed |most_visited_items_cache_| from InstantIOContext and InstantService.
(3) SearchTabHelper will track the last sent most visited items. This prevents duplicate most visited item related IPCs while switching tabs.
BUG= 239253, 225760, 242667
TEST=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=205026
Total comments: 20
Total comments: 1
Total comments: 6
Total comments: 8
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+275 lines, -284 lines) |
Patch |
 |
M |
chrome/browser/search/instant_io_context.h
|
View
|
|
3 chunks |
+0 lines, -22 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search/instant_io_context.cc
|
View
|
1
|
3 chunks |
+1 line, -40 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search/instant_service.h
|
View
|
1
2
|
6 chunks |
+6 lines, -29 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search/instant_service.cc
|
View
|
1
2
3
4
5
|
7 chunks |
+11 lines, -75 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search/search.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search/search.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/instant_controller.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+15 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/instant_extended_interactive_uitest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/instant_page.h
|
View
|
1
2
3
4
5
6
7
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/instant_page.cc
|
View
|
1
2
3
4
5
6
7
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/search_tab_helper.h
|
View
|
10
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/search_tab_helper.cc
|
View
|
10
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/favicon_source.h
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/favicon_source.cc
|
View
|
1
|
6 chunks |
+7 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/favicon_source_unittest.cc
|
View
|
1
|
2 chunks |
+3 lines, -33 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/ntp/thumbnail_source.h
|
View
|
|
2 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/ntp/thumbnail_source.cc
|
View
|
1
|
2 chunks |
+3 lines, -33 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/render_messages.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/chrome_content_renderer_client.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/searchbox/searchbox.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+21 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/searchbox/searchbox.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+68 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/searchbox/searchbox_extension.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+19 lines, -12 lines |
0 comments
|
Download
|
 |
A |
chrome/renderer/searchbox/searchbox_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
Total messages: 25 (0 generated)
|