blob: d6e66c92350b164d30e735d9bd1674e4fa1b33dc [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
namespace content {
// Used to specify detailed behavior on requesting reloads. NONE is used in
// general, but behaviors depend on context. If NONE is used for tab restore, or
// history navigation, it loads preferring cache (which may be stale).
enum class ReloadType {
// Normal load, restore, or history navigation.
// Reloads the current entry validating only the main resource.
// Reloads the current entry bypassing the cache (shift-reload).
// Reloads the current entry using the original URL used to create it. This
// is used for cases where the user wants to refresh a page using a different
// user agent after following a redirect. It is also used in the case of an
// intervention (i.e., preview) being served on the page and the user
// requesting the page without the intervention.
} // namespace content