summaryrefslogtreecommitdiffstats
path: root/net/base/load_flags.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/load_flags.h')
-rw-r--r--net/base/load_flags.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/base/load_flags.h b/net/base/load_flags.h
index 354980c..c2c0d20 100644
--- a/net/base/load_flags.h
+++ b/net/base/load_flags.h
@@ -38,6 +38,8 @@ enum {
LOAD_ENABLE_UPLOAD_PROGRESS = 1 << 6,
// If present, try to download the resource to a standalone file.
+ // This hint tells the http cache to provide a native file handle
+ // of the cached file to the renderer process.
LOAD_ENABLE_DOWNLOAD_FILE = 1 << 7,
// If present, ignores certificate mismatches with the domain name.
@@ -71,6 +73,9 @@ enum {
// Do not resolve proxies. This override is used when downloading PAC files
// to avoid having a circular dependency.
LOAD_BYPASS_PROXY = 1 << 15,
+
+ // Indicate this request is for a download, as opposed to viewing.
+ LOAD_IS_DOWNLOAD = 1 << 16,
};
} // namespace net