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

Side by Side Diff: content/public/browser/reload_type.h

Issue 2557633003: content::ReloadType cleanup: make NORMAL behave as MAIN_RESOURCE (Closed)
Patch Set: comment update Created 4 years 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
« no previous file with comments | « content/common/frame_message_enums.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 CONTENT_PUBLIC_BROWSER_RELOAD_TYPE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RELOAD_TYPE_H_
6 #define CONTENT_PUBLIC_BROWSER_RELOAD_TYPE_H_ 6 #define CONTENT_PUBLIC_BROWSER_RELOAD_TYPE_H_
7 7
8 namespace content { 8 namespace content {
9 9
10 // Used to specify detailed behavior on requesting reloads. NONE is used in 10 // Used to specify detailed behavior on requesting reloads. NONE is used in
11 // general, but behaviors depend on context. If NONE is used for tab restore, or 11 // general, but behaviors depend on context. If NONE is used for tab restore, or
12 // history navigation, it loads preferring cache (which may be stale). 12 // history navigation, it loads preferring cache (which may be stale).
13 enum class ReloadType { 13 enum class ReloadType {
14 NONE, // Normal load, restore, or history navigation. 14 NONE, // Normal load, restore, or history navigation.
15 NORMAL, // Normal (cache-validating) reload. 15 NORMAL, // Reload validating only the main resource.
16 MAIN_RESOURCE, // Reload validating only the main resource.
17 BYPASSING_CACHE, // Reload bypassing the cache (shift-reload). 16 BYPASSING_CACHE, // Reload bypassing the cache (shift-reload).
18 ORIGINAL_REQUEST_URL, // Reload using the original request URL. 17 ORIGINAL_REQUEST_URL, // Reload using the original request URL.
19 DISABLE_LOFI_MODE // Reload with Lo-Fi mode disabled. 18 DISABLE_LOFI_MODE // Reload with Lo-Fi mode disabled.
20 }; 19 };
21 20
22 } // namespace content 21 } // namespace content
23 22
24 #endif // CONTENT_PUBLIC_BROWSER_RELOAD_TYPE_H_ 23 #endif // CONTENT_PUBLIC_BROWSER_RELOAD_TYPE_H_
OLDNEW
« no previous file with comments | « content/common/frame_message_enums.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698