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

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

Issue 570253002: Componentize NetErrorHelperCore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Win64 Created 6 years, 3 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 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 CHROME_COMMON_NET_NET_ERROR_INFO_H_ 5 #ifndef COMPONENTS_ERROR_PAGE_COMMON_NET_ERROR_INFO_H_
6 #define CHROME_COMMON_NET_NET_ERROR_INFO_H_ 6 #define COMPONENTS_ERROR_PAGE_COMMON_NET_ERROR_INFO_H_
7 7
8 // TODO(hashimoto): Change this to namespace error_page.
8 namespace chrome_common_net { 9 namespace chrome_common_net {
9 10
10 // Network error page events. Used for UMA statistics. 11 // Network error page events. Used for UMA statistics.
11 enum NetworkErrorPageEvent { 12 enum NetworkErrorPageEvent {
12 NETWORK_ERROR_PAGE_SHOWN, // Error pages shown. 13 NETWORK_ERROR_PAGE_SHOWN, // Error pages shown.
13 14
14 NETWORK_ERROR_PAGE_RELOAD_BUTTON_SHOWN, // Reload buttons shown. 15 NETWORK_ERROR_PAGE_RELOAD_BUTTON_SHOWN, // Reload buttons shown.
15 NETWORK_ERROR_PAGE_RELOAD_BUTTON_CLICKED, // Reload button clicked. 16 NETWORK_ERROR_PAGE_RELOAD_BUTTON_CLICKED, // Reload button clicked.
16 NETWORK_ERROR_PAGE_RELOAD_BUTTON_ERROR, // Reload button clicked 17 NETWORK_ERROR_PAGE_RELOAD_BUTTON_ERROR, // Reload button clicked
17 // -> error. 18 // -> error.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 85
85 // Record specific error page events. 86 // Record specific error page events.
86 void RecordEvent(NetworkErrorPageEvent event); 87 void RecordEvent(NetworkErrorPageEvent event);
87 88
88 // The error domain used to pass DNS probe statuses to the localized error 89 // The error domain used to pass DNS probe statuses to the localized error
89 // code. 90 // code.
90 extern const char kDnsProbeErrorDomain[]; 91 extern const char kDnsProbeErrorDomain[];
91 92
92 } // namespace chrome_common_net 93 } // namespace chrome_common_net
93 94
94 #endif // CHROME_COMMON_NET_NET_ERROR_INFO_H_ 95 #endif // COMPONENTS_ERROR_PAGE_COMMON_NET_ERROR_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698