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

Side by Side Diff: components/error_page/renderer/net_error_helper_core.h

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in elide_url.cc Created 4 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_RENDERER_NET_ERROR_HELPER_CORE_H_ 5 #ifndef COMPONENTS_ERROR_PAGE_RENDERER_NET_ERROR_HELPER_CORE_H_
6 #define COMPONENTS_ERROR_PAGE_RENDERER_NET_ERROR_HELPER_CORE_H_ 6 #define COMPONENTS_ERROR_PAGE_RENDERER_NET_ERROR_HELPER_CORE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 void OnFinishLoad(FrameType frame_type); 155 void OnFinishLoad(FrameType frame_type);
156 void OnStop(); 156 void OnStop();
157 void OnWasShown(); 157 void OnWasShown();
158 void OnWasHidden(); 158 void OnWasHidden();
159 159
160 void CancelPendingFetches(); 160 void CancelPendingFetches();
161 161
162 // Called when an error page have has been retrieved over the network. |html| 162 // Called when an error page have has been retrieved over the network. |html|
163 // must be an empty string on error. 163 // must be an empty string on error.
164 void OnNavigationCorrectionsFetched(const std::string& corrections, 164 void OnNavigationCorrectionsFetched(const std::string& corrections,
165 const std::string& accept_languages,
166 bool is_rtl); 165 bool is_rtl);
167 166
168 // Notifies |this| that network error information from the browser process 167 // Notifies |this| that network error information from the browser process
169 // has been received. 168 // has been received.
170 void OnNetErrorInfo(DnsProbeStatus status); 169 void OnNetErrorInfo(DnsProbeStatus status);
171 170
172 // Notifies |this| if it can use a local error diagnostics service through its 171 // Notifies |this| if it can use a local error diagnostics service through its
173 // delegate. 172 // delegate.
174 void OnSetCanShowNetworkDiagnosticsDialog( 173 void OnSetCanShowNetworkDiagnosticsDialog(
175 bool can_show_network_diagnostics_dialog); 174 bool can_show_network_diagnostics_dialog);
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 299
301 // This value is set only when a navigation has been initiated from 300 // This value is set only when a navigation has been initiated from
302 // the error page. It is used to detect when such navigations result 301 // the error page. It is used to detect when such navigations result
303 // in errors. 302 // in errors.
304 Button navigation_from_button_; 303 Button navigation_from_button_;
305 }; 304 };
306 305
307 } // namespace error_page 306 } // namespace error_page
308 307
309 #endif // COMPONENTS_ERROR_PAGE_RENDERER_NET_ERROR_HELPER_CORE_H_ 308 #endif // COMPONENTS_ERROR_PAGE_RENDERER_NET_ERROR_HELPER_CORE_H_
OLDNEW
« no previous file with comments | « components/error_page/common/localized_error.cc ('k') | components/error_page/renderer/net_error_helper_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698