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

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

Issue 1051433002: Improvements to the offline intersitial and easter egg (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Darn it, keep forgetting CrOS has a separate offline template! Created 5 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 | « components/error_page/renderer/net_error_helper_core.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | 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 bc11897f310f8c4814730047fb9a3a0661c0805e..c2cf21f5402287a55af475345f00990257b9f901 100644
--- a/components/error_page/renderer/net_error_helper_core.cc
+++ b/components/error_page/renderer/net_error_helper_core.cc
@@ -922,6 +922,10 @@ void NetErrorHelperCore::ExecuteButtonPress(Button button) {
chrome_common_net::RecordEvent(
chrome_common_net::NETWORK_ERROR_PAGE_MORE_BUTTON_CLICKED);
return;
+ case EASTER_EGG:
+ chrome_common_net::RecordEvent(
+ chrome_common_net::NETWORK_ERROR_EASTER_EGG_ACTIVATED);
+ return;
case NO_BUTTON:
NOTREACHED();
return;
« no previous file with comments | « components/error_page/renderer/net_error_helper_core.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698