OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_PUBLIC_BROWSER_RELOAD_TYPE_H_ | |
6 #define CONTENT_PUBLIC_BROWSER_RELOAD_TYPE_H_ | |
7 | |
8 namespace content { | |
9 | |
10 // Note: NO_RELOAD is used in general, but behaviors depend on context. | |
Charlie Reis
2016/09/09 05:41:05
There's no NO_RELOAD type below. Did you mean NON
Takashi Toyoshima
2016/09/09 07:31:30
Done.
| |
11 // If it is used for tab restore, or history navigation, it loads preferring | |
Charlie Reis
2016/09/09 05:41:05
Can you clarify this sentence? I don't know what
Takashi Toyoshima
2016/09/09 07:31:30
Done.
| |
12 // cache (which may be stale). | |
13 enum class ReloadType { | |
14 NONE, // Normal load, restore, or history navigation. | |
15 NORMAL, // Normal (cache-validating) reload. | |
16 MAIN_RESOURCE, // Reload validating only the main resource. | |
17 BYPASSING_CACHE, // Reload bypassing the cache (shift-reload). | |
18 ORIGINAL_REQUEST_URL, // Reload using the original request URL. | |
19 DISABLE_LOFI_MODE // Reload with Lo-Fi mode disabled. | |
20 }; | |
21 | |
22 } // namespace content | |
23 | |
24 #endif // CONTENT_PUBLIC_BROWSER_RELOAD_TYPE_H_ | |
OLD | NEW |