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

Unified Diff: components/favicon/core/large_icon_service.cc

Issue 2790113002: [LargeIconService] Update parameters for Google server (Closed)
Patch Set: Update unit-tests Created 3 years, 9 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 | « no previous file | components/favicon/core/large_icon_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/favicon/core/large_icon_service.cc
diff --git a/components/favicon/core/large_icon_service.cc b/components/favicon/core/large_icon_service.cc
index 7d519677c51780055520e90d6e9a6f3a0217b1ff..9f2394e63a9d98f7b9cd1588c0326cee01576636 100644
--- a/components/favicon/core/large_icon_service.cc
+++ b/components/favicon/core/large_icon_service.cc
@@ -30,11 +30,11 @@ namespace favicon {
namespace {
const char kGoogleServerV2RequestFormat[] =
- "https://t0.gstatic.com/"
- "faviconV2?user=chrome&drop_404_icon=true&size=%d&min_size=%d&max_size=%d&"
- "fallback_opts=TYPE&url=%s";
-const int kGoogleServerV2MaxSizeInPixel = 256;
-const int kGoogleServerV2DesiredSizeInPixel = 192;
+ "https://t0.gstatic.com/faviconV2?"
+ "client=chrome&drop_404_icon=true&size=%d&min_size=%d&max_size=%d&"
+ "fallback_opts=TYPE,SIZE&url=%s";
+const int kGoogleServerV2MaxSizeInPixel = 128;
+const int kGoogleServerV2DesiredSizeInPixel = 64;
GURL TrimPageUrlForGoogleServer(const GURL& page_url) {
if (!page_url.SchemeIsHTTPOrHTTPS() || page_url.HostIsIPAddress())
« no previous file with comments | « no previous file | components/favicon/core/large_icon_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698