OLD | NEW |
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 CHROME_RENDERER_NET_NET_ERROR_HELPER_CORE_H_ | 5 #ifndef CHROME_RENDERER_NET_NET_ERROR_HELPER_CORE_H_ |
6 #define CHROME_RENDERER_NET_NET_ERROR_HELPER_CORE_H_ | 6 #define CHROME_RENDERER_NET_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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 | 206 |
207 bool auto_reload_enabled_; | 207 bool auto_reload_enabled_; |
208 scoped_ptr<base::Timer> auto_reload_timer_; | 208 scoped_ptr<base::Timer> auto_reload_timer_; |
209 | 209 |
210 // Is the browser online? | 210 // Is the browser online? |
211 bool online_; | 211 bool online_; |
212 | 212 |
213 int auto_reload_count_; | 213 int auto_reload_count_; |
214 bool can_auto_reload_page_; | 214 bool can_auto_reload_page_; |
215 | 215 |
216 // Non-NO_BUTTON only when a navigation has been initiated from the error | 216 // This value is set only when a navigation has been initiated from |
217 // page. Used to detect when such navigations result in errors. | 217 // the error page. It is used to detect when such navigations result |
| 218 // in errors. |
218 Button navigation_from_button_; | 219 Button navigation_from_button_; |
219 }; | 220 }; |
220 | 221 |
221 #endif // CHROME_RENDERER_NET_NET_ERROR_HELPER_CORE_H_ | 222 #endif // CHROME_RENDERER_NET_NET_ERROR_HELPER_CORE_H_ |
OLD | NEW |