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

Side by Side Diff: ios/web/public/reload_type.h

Issue 2766453002: Implement Reload for ORIGINAL_REQUEST_URL in NavigationManagerImpl. (Closed)
Patch Set: Rebase Created 3 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 2017 The Chromium Authors. All rights reserved. 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 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 IOS_WEB_PUBLIC_RELOAD_TYPE_H_ 5 #ifndef IOS_WEB_PUBLIC_RELOAD_TYPE_H_
6 #define IOS_WEB_PUBLIC_RELOAD_TYPE_H_ 6 #define IOS_WEB_PUBLIC_RELOAD_TYPE_H_
7 7
8 namespace web { 8 namespace web {
9 9
10 // Used to specify detailed behavior on requesting reload. 10 // Used to specify detailed behavior on requesting reload.
11 enum class ReloadType : short { 11 enum class ReloadType : short {
12 // Reloads the visible item. 12 // Reloads the visible item.
13 NORMAL = 0, 13 NORMAL = 0,
14 14
15 // Reloads the visible item using the original URL used to create it. This 15 // Reloads the transient item, or pending item if transient doesn't exist, or
16 // is used for cases where the user wants to refresh a page using a different 16 // last committed item if both of them don't exist, using the original URL
17 // user agent after following a redirect. 17 // used to create it. This is used for cases where the user wants to refresh a
18 // page using a different configuration (e.g. user agent).
18 ORIGINAL_REQUEST_URL, 19 ORIGINAL_REQUEST_URL,
19 }; 20 };
20 21
21 } // namespace web 22 } // namespace web
22 23
23 #endif // IOS_WEB_PUBLIC_RELOAD_TYPE_H_ 24 #endif // IOS_WEB_PUBLIC_RELOAD_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698