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

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

Issue 7204025: Revert 89628 - Revert 89489 - net: don't check revocation when fetching PAC files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | « no previous file | net/http/http_network_transaction.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // This is the list of load flags and their values. For the enum values, 5 // This is the list of load flags and their values. For the enum values,
6 // include the file "net/base/load_flags.h". 6 // include the file "net/base/load_flags.h".
7 // 7 //
8 // Here we define the values using a macro LOAD_FLAG, so it can be 8 // Here we define the values using a macro LOAD_FLAG, so it can be
9 // expanded differently in some places (for example, to automatically 9 // expanded differently in some places (for example, to automatically
10 // map a load flag value to its symbolic name). 10 // map a load flag value to its symbolic name).
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 LOAD_FLAG(IGNORE_CERT_COMMON_NAME_INVALID, 1 << 8) 44 LOAD_FLAG(IGNORE_CERT_COMMON_NAME_INVALID, 1 << 8)
45 45
46 // If present, ignores certificate expiration dates 46 // If present, ignores certificate expiration dates
47 // (The default behavior is to trigger an OnSSLCertificateError callback). 47 // (The default behavior is to trigger an OnSSLCertificateError callback).
48 LOAD_FLAG(IGNORE_CERT_DATE_INVALID, 1 << 9) 48 LOAD_FLAG(IGNORE_CERT_DATE_INVALID, 1 << 9)
49 49
50 // If present, trusts all certificate authorities 50 // If present, trusts all certificate authorities
51 // (The default behavior is to trigger an OnSSLCertificateError callback). 51 // (The default behavior is to trigger an OnSSLCertificateError callback).
52 LOAD_FLAG(IGNORE_CERT_AUTHORITY_INVALID, 1 << 10) 52 LOAD_FLAG(IGNORE_CERT_AUTHORITY_INVALID, 1 << 10)
53 53
54 // If present, ignores certificate revocation 54 // If present, causes certificate revocation checks to be skipped on secure
55 // (The default behavior is to trigger an OnSSLCertificateError callback). 55 // connections.
56 LOAD_FLAG(IGNORE_CERT_REVOCATION, 1 << 11) 56 LOAD_FLAG(DISABLE_CERT_REVOCATION_CHECKING, 1 << 11)
57 57
58 // If present, ignores wrong key usage of the certificate 58 // If present, ignores wrong key usage of the certificate
59 // (The default behavior is to trigger an OnSSLCertificateError callback). 59 // (The default behavior is to trigger an OnSSLCertificateError callback).
60 LOAD_FLAG(IGNORE_CERT_WRONG_USAGE, 1 << 12) 60 LOAD_FLAG(IGNORE_CERT_WRONG_USAGE, 1 << 12)
61 61
62 // This load will not make any changes to cookies, including storing new 62 // This load will not make any changes to cookies, including storing new
63 // cookies or updating existing ones. 63 // cookies or updating existing ones.
64 LOAD_FLAG(DO_NOT_SAVE_COOKIES, 1 << 13) 64 LOAD_FLAG(DO_NOT_SAVE_COOKIES, 1 << 13)
65 65
66 // Do not resolve proxies. This override is used when downloading PAC files 66 // Do not resolve proxies. This override is used when downloading PAC files
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 LOAD_FLAG(PRERENDERING, 1 << 24) 107 LOAD_FLAG(PRERENDERING, 1 << 24)
108 108
109 // Indicates that this is a load that ignores limits and should complete 109 // Indicates that this is a load that ignores limits and should complete
110 // immediately. 110 // immediately.
111 LOAD_FLAG(IGNORE_LIMITS, 1 << 25) 111 LOAD_FLAG(IGNORE_LIMITS, 1 << 25)
112 112
113 // Suppress login prompts for this request. Cached credentials or 113 // Suppress login prompts for this request. Cached credentials or
114 // default credentials may still be used for authentication. 114 // default credentials may still be used for authentication.
115 LOAD_FLAG(DO_NOT_PROMPT_FOR_LOGIN, 1 << 26) 115 LOAD_FLAG(DO_NOT_PROMPT_FOR_LOGIN, 1 << 26)
116 116
OLDNEW
« no previous file with comments | « no previous file | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698