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

Unified Diff: chrome/renderer/searchbox/searchbox.cc

Issue 2873383002: Remove unused instant support for chrome://large-icon and chrome://fallback-icon (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/searchbox/searchbox.h ('k') | chrome/renderer/searchbox/searchbox_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/searchbox/searchbox.cc
diff --git a/chrome/renderer/searchbox/searchbox.cc b/chrome/renderer/searchbox/searchbox.cc
index be43fba07e768e872383326e04cdb20a9c5a6629..52edc986e2123014af82da580012b673fa8c1fda 100644
--- a/chrome/renderer/searchbox/searchbox.cc
+++ b/chrome/renderer/searchbox/searchbox.cc
@@ -63,10 +63,6 @@ const char* GetIconTypeUrlHost(SearchBox::ImageSourceType type) {
switch (type) {
case SearchBox::FAVICON:
return "favicon";
- case SearchBox::LARGE_ICON:
- return "large-icon";
- case SearchBox::FALLBACK_ICON:
- return "fallback-icon";
case SearchBox::THUMB:
return "thumb";
default:
@@ -85,14 +81,6 @@ int GetImagePathStartOfPageURL(SearchBox::ImageSourceType type,
chrome::ParsedFaviconPath parsed;
return chrome::ParseFaviconPath(path, &parsed) ? parsed.path_index : -1;
}
- case SearchBox::LARGE_ICON: {
- LargeIconUrlParser parser;
- return parser.Parse(path) ? parser.path_index() : -1;
- }
- case SearchBox::FALLBACK_ICON: {
- chrome::ParsedFallbackIconPath parser;
- return parser.Parse(path) ? parser.path_index() : -1;
- }
case SearchBox::THUMB: {
return 0;
}
« no previous file with comments | « chrome/renderer/searchbox/searchbox.h ('k') | chrome/renderer/searchbox/searchbox_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698