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

Side by Side Diff: net/base/load_flags.h

Issue 113931: Remove code path that passes a file handle to the renderer... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/base/cache_type.h ('k') | net/disk_cache/backend_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 NET_BASE_LOAD_FLAGS_H__ 5 #ifndef NET_BASE_LOAD_FLAGS_H__
6 #define NET_BASE_LOAD_FLAGS_H__ 6 #define NET_BASE_LOAD_FLAGS_H__
7 7
8 namespace net { 8 namespace net {
9 9
10 // These flags provide metadata about the type of the load request. They are 10 // These flags provide metadata about the type of the load request. They are
(...skipping 19 matching lines...) Expand all
30 // impact the HTTP request headers. 30 // impact the HTTP request headers.
31 LOAD_DISABLE_CACHE = 1 << 4, 31 LOAD_DISABLE_CACHE = 1 << 4,
32 32
33 // This is a navigation that will not be intercepted by any registered 33 // This is a navigation that will not be intercepted by any registered
34 // URLRequest::Interceptors. 34 // URLRequest::Interceptors.
35 LOAD_DISABLE_INTERCEPT = 1 << 5, 35 LOAD_DISABLE_INTERCEPT = 1 << 5,
36 36
37 // If present, upload progress messages should be provided to initiator. 37 // If present, upload progress messages should be provided to initiator.
38 LOAD_ENABLE_UPLOAD_PROGRESS = 1 << 6, 38 LOAD_ENABLE_UPLOAD_PROGRESS = 1 << 6,
39 39
40 // If present, try to download the resource to a standalone file.
41 // This hint tells the http cache to provide a native file handle
42 // of the cached file to the renderer process.
43 LOAD_ENABLE_DOWNLOAD_FILE = 1 << 7,
44
45 // If present, ignores certificate mismatches with the domain name. 40 // If present, ignores certificate mismatches with the domain name.
46 // (The default behavior is to trigger an OnSSLCertificateError callback.) 41 // (The default behavior is to trigger an OnSSLCertificateError callback.)
47 LOAD_IGNORE_CERT_COMMON_NAME_INVALID = 1 << 8, 42 LOAD_IGNORE_CERT_COMMON_NAME_INVALID = 1 << 8,
48 43
49 // If present, ignores certificate expiration dates 44 // If present, ignores certificate expiration dates
50 // (The default behavior is to trigger an OnSSLCertificateError callback). 45 // (The default behavior is to trigger an OnSSLCertificateError callback).
51 LOAD_IGNORE_CERT_DATE_INVALID = 1 << 9, 46 LOAD_IGNORE_CERT_DATE_INVALID = 1 << 9,
52 47
53 // If present, trusts all certificate authorities 48 // If present, trusts all certificate authorities
54 // (The default behavior is to trigger an OnSSLCertificateError callback). 49 // (The default behavior is to trigger an OnSSLCertificateError callback).
(...skipping 15 matching lines...) Expand all
70 // to avoid having a circular dependency. 65 // to avoid having a circular dependency.
71 LOAD_BYPASS_PROXY = 1 << 14, 66 LOAD_BYPASS_PROXY = 1 << 14,
72 67
73 // Indicate this request is for a download, as opposed to viewing. 68 // Indicate this request is for a download, as opposed to viewing.
74 LOAD_IS_DOWNLOAD = 1 << 15, 69 LOAD_IS_DOWNLOAD = 1 << 15,
75 }; 70 };
76 71
77 } // namespace net 72 } // namespace net
78 73
79 #endif // NET_BASE_LOAD_FLAGS_H__ 74 #endif // NET_BASE_LOAD_FLAGS_H__
OLDNEW
« no previous file with comments | « net/base/cache_type.h ('k') | net/disk_cache/backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698