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

Unified Diff: components/error_page/renderer/net_error_helper_core.cc

Issue 1129353005: Move Google Cache copy suggestion to an action button in the neterror interstitial (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix size_t to int data loss warning Created 5 years, 6 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/resources/neterror.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/error_page/renderer/net_error_helper_core.cc
diff --git a/components/error_page/renderer/net_error_helper_core.cc b/components/error_page/renderer/net_error_helper_core.cc
index 8a9977c5b27ec4ec05c8916f3cb2eeb21b6f459c..073ea2eb902f0f8bba51ebe05bd493f40785d3a3 100644
--- a/components/error_page/renderer/net_error_helper_core.cc
+++ b/components/error_page/renderer/net_error_helper_core.cc
@@ -333,6 +333,8 @@ scoped_ptr<ErrorPageParams> CreateErrorPageParams(
accept_languages));
suggest->SetString("originalUrlForDisplay", original_url_for_display);
suggest->SetInteger("trackingId", tracking_id);
+ suggest->SetInteger("type", static_cast<int>(correction_index));
+
params->override_suggestions->Append(suggest);
break;
}
« no previous file with comments | « chrome/renderer/resources/neterror.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698