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

Unified Diff: net/base/load_flags.h

Issue 62111: Give the filter setup more context so it can figure out whether it's download... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
Index: net/base/load_flags.h
===================================================================
--- net/base/load_flags.h (revision 13526)
+++ net/base/load_flags.h (working copy)
@@ -38,6 +38,8 @@
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 @@
// 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

Powered by Google App Engine
This is Rietveld 408576698