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

Side by Side Diff: components/error_page/common/net_error_info.h

Issue 1410343007: Add "SHOW ALL SAVED PAGES" button to offline error page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix after rebase Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_ERROR_PAGE_COMMON_NET_ERROR_INFO_H_ 5 #ifndef COMPONENTS_ERROR_PAGE_COMMON_NET_ERROR_INFO_H_
6 #define COMPONENTS_ERROR_PAGE_COMMON_NET_ERROR_INFO_H_ 6 #define COMPONENTS_ERROR_PAGE_COMMON_NET_ERROR_INFO_H_
7 7
8 namespace error_page { 8 namespace error_page {
9 9
10 // Network error page events. Used for UMA statistics. 10 // Network error page events. Used for UMA statistics.
(...skipping 23 matching lines...) Expand all
34 34
35 // For "Google cached copy" button experiment. 35 // For "Google cached copy" button experiment.
36 NETWORK_ERROR_PAGE_CACHED_COPY_BUTTON_SHOWN = 13, 36 NETWORK_ERROR_PAGE_CACHED_COPY_BUTTON_SHOWN = 13,
37 NETWORK_ERROR_PAGE_CACHED_COPY_BUTTON_CLICKED = 14, 37 NETWORK_ERROR_PAGE_CACHED_COPY_BUTTON_CLICKED = 14,
38 // Obsolete. No longer experimenting with the label. 38 // Obsolete. No longer experimenting with the label.
39 // NETWORK_ERROR_PAGE_CACHED_PAGE_BUTTON_SHOWN = 15, 39 // NETWORK_ERROR_PAGE_CACHED_PAGE_BUTTON_SHOWN = 15,
40 // NETWORK_ERROR_PAGE_CACHED_PAGE_BUTTON_CLICKED = 16, 40 // NETWORK_ERROR_PAGE_CACHED_PAGE_BUTTON_CLICKED = 16,
41 41
42 NETWORK_ERROR_DIAGNOSE_BUTTON_CLICKED = 17, // Diagnose button clicked. 42 NETWORK_ERROR_DIAGNOSE_BUTTON_CLICKED = 17, // Diagnose button clicked.
43 43
44 // For the "Show all saved pages".
45 NETWORK_ERROR_PAGE_SHOW_SAVED_PAGES_BUTTON_SHOWN = 18,
46 NETWORK_ERROR_PAGE_SHOW_SAVED_PAGES_BUTTON_CLICKED = 19,
47 NETWORK_ERROR_PAGE_SHOW_SAVED_PAGES_BUTTON_ERROR = 20,
48
44 NETWORK_ERROR_PAGE_EVENT_MAX, 49 NETWORK_ERROR_PAGE_EVENT_MAX,
45 }; 50 };
46 51
47 // The status of a DNS probe. 52 // The status of a DNS probe.
48 // 53 //
49 // The DNS_PROBE_FINISHED_* values are used in histograms, so: 54 // The DNS_PROBE_FINISHED_* values are used in histograms, so:
50 // 1. FINISHED_UNKNOWN must remain the first FINISHED_* value. 55 // 1. FINISHED_UNKNOWN must remain the first FINISHED_* value.
51 // 2. FINISHED_* values must not be rearranged relative to FINISHED_UNKNOWN. 56 // 2. FINISHED_* values must not be rearranged relative to FINISHED_UNKNOWN.
52 // 3. New FINISHED_* values must be inserted at the end. 57 // 3. New FINISHED_* values must be inserted at the end.
53 // 4. New non-FINISHED_* values cannot be inserted. 58 // 4. New non-FINISHED_* values cannot be inserted.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 // Record specific error page events. 104 // Record specific error page events.
100 void RecordEvent(NetworkErrorPageEvent event); 105 void RecordEvent(NetworkErrorPageEvent event);
101 106
102 // The error domain used to pass DNS probe statuses to the localized error 107 // The error domain used to pass DNS probe statuses to the localized error
103 // code. 108 // code.
104 extern const char kDnsProbeErrorDomain[]; 109 extern const char kDnsProbeErrorDomain[];
105 110
106 } // namespace error_page 111 } // namespace error_page
107 112
108 #endif // COMPONENTS_ERROR_PAGE_COMMON_NET_ERROR_INFO_H_ 113 #endif // COMPONENTS_ERROR_PAGE_COMMON_NET_ERROR_INFO_H_
OLDNEW
« no previous file with comments | « chrome/renderer/resources/neterror.js ('k') | components/error_page/renderer/net_error_helper_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698