| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_WEB_PUBLIC_RELOAD_TYPE_H_ |
| 6 #define IOS_WEB_PUBLIC_RELOAD_TYPE_H_ |
| 7 |
| 8 namespace web { |
| 9 |
| 10 // Used to specify detailed behavior on requesting reload. |
| 11 enum class ReloadType : short { |
| 12 // Reloads the visible item. |
| 13 NORMAL = 0, |
| 14 |
| 15 // Reloads the visible item using the original URL used to create it. This |
| 16 // is used for cases where the user wants to refresh a page using a different |
| 17 // user agent after following a redirect. |
| 18 ORIGINAL_REQUEST_URL, |
| 19 }; |
| 20 |
| 21 } // namespace web |
| 22 |
| 23 #endif // IOS_WEB_PUBLIC_RELOAD_TYPE_H_ |
| OLD | NEW |